Skip to content

Commit

Permalink
Merge pull request #58 from AlonaKaplan/psa_seccomp
Browse files Browse the repository at this point in the history
Run kubevirt lane with KUBEVIRT_PSA=true
  • Loading branch information
kubevirt-bot authored Mar 13, 2023
2 parents 0c80f72 + 2bc3acc commit 08810ac
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
5 changes: 5 additions & 0 deletions cluster/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,10 @@ pods_ready_wait() {
fi
}

enable_psa_feature_gate() {
./cluster/kubectl.sh apply -f ./hack/psa/kubevirt.yaml
}

pods_ready_wait
make create-nodeport
enable_psa_feature_gate
2 changes: 1 addition & 1 deletion cluster/up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set -ex pipefail

export DEPLOY_CNAO=${DEPLOY_CNAO:-true}
export DEPLOY_KUBEVIRT=${DEPLOY_KUBEVIRT:-true}
export KUBEVIRT_PSA=${KUBEVIRT_PSA:-false}
export KUBEVIRT_PSA=${KUBEVIRT_PSA:-true}

source ./cluster/cluster.sh

Expand Down
15 changes: 15 additions & 0 deletions hack/psa/kubevirt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
apiVersion: kubevirt.io/v1
kind: KubeVirt
metadata:
name: kubevirt
namespace: kubevirt
spec:
configuration:
developerConfiguration:
featureGates:
- KubevirtSeccompProfile
seccompConfiguration:
virtualMachineInstanceProfile:
customProfile:
localhostProfile: kubevirt/kubevirt.json

0 comments on commit 08810ac

Please sign in to comment.