-
Notifications
You must be signed in to change notification settings - Fork 119
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
Conversation
ecd500f
to
052411e
Compare
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
9295354
to
ffdb838
Compare
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]>
/test check-provision-k8s-1.26-centos9 |
@xpivarc: The following test failed, say
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. |
There was a problem hiding this 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.
[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 |
[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 |
There was a problem hiding this comment.
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
kubevirtci/cluster-up/hack/common.sh
Line 25 in 31e5860
KUBEVIRT_PSA=${KUBEVIRT_PSA:-false} |
Easier to read without it imo
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
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
[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]>
[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]>
[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]>
[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]>
[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]>
[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]>
[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]>
No description provided.