Skip to content

Commit

Permalink
NO-ISSUE: Assign default storage classes on SNO (openshift#4369)
Browse files Browse the repository at this point in the history
Operations require a default storage class to function properly,
since we are installing those, we can also mark them default:
- Set HPP storage class as default
- LVM Operator takes care of creating and setting its storage class to default:
openshift/lvm-operator#210
So no action required.

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
  • Loading branch information
akalenyu authored and danielerez committed Oct 15, 2023
1 parent 0628b2c commit d5e5944
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/operators/cnv/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ spec:
const cnvHPPStorageClass = `apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
storageclass.kubernetes.io/is-default-class: "true"
name: sno-storage
provisioner: kubevirt.io.hostpath-provisioner
reclaimPolicy: Delete
Expand Down

0 comments on commit d5e5944

Please sign in to comment.