Add storageprofile for nfs-zfs-csi
This commit is contained in:
parent
c72f495816
commit
62176e7a98
3 changed files with 26 additions and 2 deletions
|
@ -6,4 +6,5 @@ resources:
|
|||
# Flux-Kustomizations
|
||||
- ./ingress.yaml
|
||||
- ./nixosdv.yaml
|
||||
- ./storageprofile.yaml
|
||||
- ./sp-hostpath.yaml
|
||||
- ./sp-nfs-zfs-csi.yaml
|
||||
|
|
|
@ -13,7 +13,7 @@ spec:
|
|||
claimPropertySets:
|
||||
- accessModes:
|
||||
- ReadWriteOnce
|
||||
volumeMode: Block
|
||||
volumeMode: Filesystem
|
||||
status:
|
||||
claimPropertySets:
|
||||
- accessModes:
|
23
kubernetes/apps/cdi/cdi/app/sp-nfs-zfs-csi.yaml
Normal file
23
kubernetes/apps/cdi/cdi/app/sp-nfs-zfs-csi.yaml
Normal 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
|
Loading…
Reference in a new issue