mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 14:30:12 +01:00
31 lines
No EOL
668 B
Django/Jinja
31 lines
No EOL
668 B
Django/Jinja
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: zfspv-custom-topology-wfc
|
|
allowVolumeExpansion: true
|
|
parameters:
|
|
fstype: "zfs"
|
|
poolname: "{{ zpool_name }}"
|
|
provisioner: zfs.csi.openebs.io
|
|
volumeBindingMode: WaitForFirstConsumer
|
|
allowedTopologies:
|
|
- matchLabelExpressions:
|
|
- key: {{ lkey }}
|
|
values:
|
|
- {{ lvalue }}
|
|
|
|
---
|
|
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: zfspv-custom-topology-immediate
|
|
allowVolumeExpansion: true
|
|
parameters:
|
|
fstype: "zfs"
|
|
poolname: "{{ zpool_name }}"
|
|
provisioner: zfs.csi.openebs.io
|
|
allowedTopologies:
|
|
- matchLabelExpressions:
|
|
- key: {{ lkey }}
|
|
values:
|
|
- {{ lvalue }} |