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

Enforce storageclasses for kubevirt-csi-driver #395

Open
kvaps opened this issue Oct 4, 2024 · 0 comments
Open

Enforce storageclasses for kubevirt-csi-driver #395

kvaps opened this issue Oct 4, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@kvaps
Copy link
Member

kvaps commented Oct 4, 2024

Currently someone with access to the cluster just pick a different backing storage class by changing it?

This should be fixed by specifying storageClassEnforcement in kubevirt-csi-controller.

https://github.com/kubevirt/csi-driver/blob/35836e0c8b68d9916d29a838ea60cdd3fc6199cf/docs/snapshot-driver-config.md?plain=1#L40-L43

This should specified in

- name: INFRA_STORAGE_CLASS_ENFORCEMENT
valueFrom:
configMapKeyRef:
name: driver-config
key: infraStorageClassEnforcement
optional: true

@kvaps kvaps added the good first issue Good for newcomers label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant