Add storageprofile for nfs-zfs-csi

This commit is contained in:
Joseph Hanson 2024-07-11 09:35:37 -05:00
parent c72f495816
commit 62176e7a98
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
3 changed files with 26 additions and 2 deletions

View file

@ -6,4 +6,5 @@ resources:
# Flux-Kustomizations
- ./ingress.yaml
- ./nixosdv.yaml
- ./storageprofile.yaml
- ./sp-hostpath.yaml
- ./sp-nfs-zfs-csi.yaml

View file

@ -13,7 +13,7 @@ spec:
claimPropertySets:
- accessModes:
- ReadWriteOnce
volumeMode: Block
volumeMode: Filesystem
status:
claimPropertySets:
- accessModes:

View file

@ -0,0 +1,23 @@
---
# yaml-language-server: $schema=https://ks.hsn.dev/cdi.kubevirt.io/storageprofile_v1beta1.json
apiVersion: cdi.kubevirt.io/v1beta1
kind: StorageProfile
metadata:
labels:
app: containerized-data-importer
app.kubernetes.io/component: storage
app.kubernetes.io/managed-by: cdi-controller
cdi.kubevirt.io: ""
name: zfs-generic-nfs-csi
spec:
claimPropertySets:
- accessModes:
- ReadWriteMany
- ReadWriteOnce
volumeMode: Block
status:
cloneStrategy: snapshot
dataImportCronSourceFormat: pvc
provisioner: org.democratic-csi.nfs
snapshotClass: zfs-generic-nfs-csi
storageClass: zfs-generic-nfs-csi