diff --git a/kubernetes/apps/openebs-system/openebs/app/kustomization.yaml b/kubernetes/apps/openebs-system/openebs/app/kustomization.yaml index 17cbc72b..dc5bcf7b 100644 --- a/kubernetes/apps/openebs-system/openebs/app/kustomization.yaml +++ b/kubernetes/apps/openebs-system/openebs/app/kustomization.yaml @@ -4,3 +4,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./helmrelease.yaml + - ./sc-local-hostpath-nvme1.yaml diff --git a/kubernetes/apps/openebs-system/openebs/app/sc-local-hostpath-nvme1.yaml b/kubernetes/apps/openebs-system/openebs/app/sc-local-hostpath-nvme1.yaml new file mode 100644 index 00000000..54406e0e --- /dev/null +++ b/kubernetes/apps/openebs-system/openebs/app/sc-local-hostpath-nvme1.yaml @@ -0,0 +1,14 @@ +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: local-hostpath-nvme1 + annotations: + openebs.io/cas-type: local + cas.openebs.io/config: | + - name: StorageType + value: hostpath + - name: BasePath + value: /var/mnt/nvme1 +provisioner: openebs.io/local +reclaimPolicy: Delete +volumeBindingMode: WaitForFirstConsumer