Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Seccomp configuration #960

Merged
merged 1 commit into from
Feb 15, 2023
Merged

Conversation

xpivarc
Copy link
Member

@xpivarc xpivarc commented Feb 13, 2023

No description provided.

@kubevirt-bot kubevirt-bot added the dco-signoff: yes Indicates the PR's author has DCO signed all their commits. label Feb 13, 2023
@@ -94,6 +94,12 @@ export KUBEVIRTCI_GOCLI_CONTAINER=quay.io/kubevirtci/gocli:latest

${ksh} wait -n kubevirt kv kubevirt --for condition=Available --timeout 15m

if [ "${KUBEVIRT_PSA:-"false"}" == "true"]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if [ "${KUBEVIRT_PSA:-"false"}" == "true"]; then
if [ "${KUBEVIRT_PSA}" == "true" ]; then
  • A default value should not be necessary as long as you're using double quotes
  • There must be a space before the closing bracket

@xpivarc xpivarc force-pushed the psa-conformance branch 3 times, most recently from 9295354 to ffdb838 Compare February 15, 2023 11:16
Kubevirt needs to run under custom profile or
compliant runtime default in order to run
without issues on PSA enabled clusters.

Signed-off-by: L. Pivarc <[email protected]>
@brianmcarey
Copy link
Member

/test check-provision-k8s-1.26-centos9

@kubevirt-bot
Copy link
Contributor

kubevirt-bot commented Feb 15, 2023

@xpivarc: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
check-up-kind-1.23-vgpu ffdb838 link false /test check-up-kind-1.23-vgpu

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Copy link
Member

@brianmcarey brianmcarey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

/approve

This allows the conformance tests to run successfully against the 1.26 provider with PSA enabled.

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Feb 15, 2023
@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brianmcarey

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 15, 2023
@kubevirt-bot kubevirt-bot merged commit 0163752 into kubevirt:main Feb 15, 2023
kubevirt-bot added a commit to kubevirt-bot/kubevirt that referenced this pull request Feb 17, 2023
[15b2c14 Refresh snapshot CRDs follow up for 1.26-centos9 provider](kubevirt/kubevirtci#947)
[0163752 Enable Seccomp configuration](kubevirt/kubevirtci#960)
[e037eb1 Adds note about CLI dependencies](kubevirt/kubevirtci#959)
[9c37b86 k8s-1.24-psa: Remove leftovers](kubevirt/kubevirtci#956)

```release-note
NONE
```

Signed-off-by: kubevirt-bot <[email protected]>
@@ -94,6 +94,12 @@ export KUBEVIRTCI_GOCLI_CONTAINER=quay.io/kubevirtci/gocli:latest

${ksh} wait -n kubevirt kv kubevirt --for condition=Available --timeout 15m

if [ "${KUBEVIRT_PSA:-"false"}" == "true" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need the default value please because we have it here already

KUBEVIRT_PSA=${KUBEVIRT_PSA:-false}

Easier to read without it imo

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

./check-cluster-up.sh: line 97: KUBEVIRT_PSA: unbound variable

Not sure what you are suggesting...

Copy link
Contributor

@oshoval oshoval Feb 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah ok it doesnt import this file, as it is check-up

so it is better please to set KUBEVIRT_PSA to either false or true in the section of check-cluster-up where we set all the rest, but not in the condition itself imo

kubevirt-bot added a commit to kubevirt-bot/kubevirt that referenced this pull request Feb 21, 2023
[31e5860 vm based providers: Introduce robust stack provider](kubevirt/kubevirtci#954)
[15b2c14 Refresh snapshot CRDs follow up for 1.26-centos9 provider](kubevirt/kubevirtci#947)
[0163752 Enable Seccomp configuration](kubevirt/kubevirtci#960)
[e037eb1 Adds note about CLI dependencies](kubevirt/kubevirtci#959)
[9c37b86 k8s-1.24-psa: Remove leftovers](kubevirt/kubevirtci#956)

```release-note
NONE
```

Signed-off-by: kubevirt-bot <[email protected]>
kubevirt-bot added a commit to kubevirt-bot/kubevirt that referenced this pull request Feb 21, 2023
[31e5860 vm based providers: Introduce robust stack provider](kubevirt/kubevirtci#954)
[15b2c14 Refresh snapshot CRDs follow up for 1.26-centos9 provider](kubevirt/kubevirtci#947)
[0163752 Enable Seccomp configuration](kubevirt/kubevirtci#960)
[e037eb1 Adds note about CLI dependencies](kubevirt/kubevirtci#959)
[9c37b86 k8s-1.24-psa: Remove leftovers](kubevirt/kubevirtci#956)

```release-note
NONE
```

Signed-off-by: kubevirt-bot <[email protected]>
kubevirt-bot added a commit to kubevirt-bot/kubevirt that referenced this pull request Feb 21, 2023
[656d01a centos8: set SELinux boolean that is now required for chardev access by containers](kubevirt/kubevirtci#968)
[31e5860 vm based providers: Introduce robust stack provider](kubevirt/kubevirtci#954)
[15b2c14 Refresh snapshot CRDs follow up for 1.26-centos9 provider](kubevirt/kubevirtci#947)
[0163752 Enable Seccomp configuration](kubevirt/kubevirtci#960)
[e037eb1 Adds note about CLI dependencies](kubevirt/kubevirtci#959)
[9c37b86 k8s-1.24-psa: Remove leftovers](kubevirt/kubevirtci#956)

```release-note
NONE
```

Signed-off-by: kubevirt-bot <[email protected]>
oshoval added a commit to oshoval/kubevirt that referenced this pull request Mar 6, 2023
[1b9174d centos8: update SELinux policy version](kubevirt/kubevirtci#975)
[e1cf770 robust stack: Fix sanity check](kubevirt/kubevirtci#970)
[bc50e16 Add WFFC variation of rook-ceph-block](kubevirt/kubevirtci#967)
[656d01a centos8: set SELinux boolean that is now required for chardev access by containers](kubevirt/kubevirtci#968)
[31e5860 vm based providers: Introduce robust stack provider](kubevirt/kubevirtci#954)
[15b2c14 Refresh snapshot CRDs follow up for 1.26-centos9 provider](kubevirt/kubevirtci#947)
[0163752 Enable Seccomp configuration](kubevirt/kubevirtci#960)
[e037eb1 Adds note about CLI dependencies](kubevirt/kubevirtci#959)
[9c37b86 k8s-1.24-psa: Remove leftovers](kubevirt/kubevirtci#956)

```release-note
NONE
```

Signed-off-by: Or Shoval <[email protected]>
kubevirt-bot added a commit to kubevirt-bot/kubevirt that referenced this pull request Mar 6, 2023
[1b9174d centos8: update SELinux policy version](kubevirt/kubevirtci#975)
[e1cf770 robust stack: Fix sanity check](kubevirt/kubevirtci#970)
[bc50e16 Add WFFC variation of rook-ceph-block](kubevirt/kubevirtci#967)
[656d01a centos8: set SELinux boolean that is now required for chardev access by containers](kubevirt/kubevirtci#968)
[31e5860 vm based providers: Introduce robust stack provider](kubevirt/kubevirtci#954)
[15b2c14 Refresh snapshot CRDs follow up for 1.26-centos9 provider](kubevirt/kubevirtci#947)
[0163752 Enable Seccomp configuration](kubevirt/kubevirtci#960)
[e037eb1 Adds note about CLI dependencies](kubevirt/kubevirtci#959)
[9c37b86 k8s-1.24-psa: Remove leftovers](kubevirt/kubevirtci#956)

```release-note
NONE
```

Signed-off-by: kubevirt-bot <[email protected]>
oshoval added a commit to oshoval/kubevirt that referenced this pull request Mar 7, 2023
[1b9174d centos8: update SELinux policy version](kubevirt/kubevirtci#975)
[e1cf770 robust stack: Fix sanity check](kubevirt/kubevirtci#970)
[bc50e16 Add WFFC variation of rook-ceph-block](kubevirt/kubevirtci#967)
[656d01a centos8: set SELinux boolean that is now required for chardev access by containers](kubevirt/kubevirtci#968)
[31e5860 vm based providers: Introduce robust stack provider](kubevirt/kubevirtci#954)
[15b2c14 Refresh snapshot CRDs follow up for 1.26-centos9 provider](kubevirt/kubevirtci#947)
[0163752 Enable Seccomp configuration](kubevirt/kubevirtci#960)
[e037eb1 Adds note about CLI dependencies](kubevirt/kubevirtci#959)
[9c37b86 k8s-1.24-psa: Remove leftovers](kubevirt/kubevirtci#956)

```release-note
NONE
```

Signed-off-by: Or Shoval <[email protected]>
oshoval added a commit to oshoval/kubevirt that referenced this pull request Mar 7, 2023
[1b9174d centos8: update SELinux policy version](kubevirt/kubevirtci#975)
[e1cf770 robust stack: Fix sanity check](kubevirt/kubevirtci#970)
[bc50e16 Add WFFC variation of rook-ceph-block](kubevirt/kubevirtci#967)
[656d01a centos8: set SELinux boolean that is now required for chardev access by containers](kubevirt/kubevirtci#968)
[31e5860 vm based providers: Introduce robust stack provider](kubevirt/kubevirtci#954)
[15b2c14 Refresh snapshot CRDs follow up for 1.26-centos9 provider](kubevirt/kubevirtci#947)
[0163752 Enable Seccomp configuration](kubevirt/kubevirtci#960)
[e037eb1 Adds note about CLI dependencies](kubevirt/kubevirtci#959)
[9c37b86 k8s-1.24-psa: Remove leftovers](kubevirt/kubevirtci#956)

```release-note
NONE
```

Signed-off-by: Or Shoval <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants