Skip to content

Commit 925628e

Browse files
committed
set storageprofile for sc
1 parent 7966144 commit 925628e

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

assets/kubevirt/storageprofile.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
apiVersion: cdi.kubevirt.io/v1beta1
2+
kind: StorageProfile
3+
metadata:
4+
name: px-rwx-kubevirt
5+
spec:
6+
claimPropertySets:
7+
- accessModes:
8+
- ReadWriteMany
9+
volumeMode: Filesystem

scripts/ocp-kubevirt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ while [ ! "$HC" == "True" ]; do
6262
HC=$(kubectl get hyperconvergeds.hco.kubevirt.io kubevirt-hyperconverged -n openshift-cnv -ojson | jq -r '.status.conditions[] | select((.reason=="ReconcileCompleted") and (.status=="True") and (.type=="Available")) | .status')
6363
done
6464

65+
kubectl apply -f /assets/kubevirt/storageprofile.yml
66+
6567
# add colored console notification on OCP GUI
6668
if [ $cluster == "1" ]; then
6769
bgcolor='#fe5000'

0 commit comments

Comments
 (0)