fix(openebs): enable reclaim policy for openebs-single sc
This commit is contained in:
parent
4929d9a087
commit
9065539a86
|
@ -29,6 +29,7 @@ spec:
|
|||
enabled: true
|
||||
hostpathClass:
|
||||
enabled: true
|
||||
reclaimPolicy: Retain
|
||||
|
||||
# Refer to https://github.com/openebs/mayastor-extensions/blob/v2.7.0/chart/values.yaml for complete set of values.
|
||||
mayastor:
|
||||
|
@ -41,7 +42,9 @@ spec:
|
|||
initContainers:
|
||||
enabled: true
|
||||
etcd:
|
||||
# -- Kubernetes Cluster Domain
|
||||
localpvScConfig:
|
||||
enabled: true
|
||||
reclaimPolicy: Retain
|
||||
clusterDomain: cluster.local
|
||||
crds:
|
||||
enabled: false
|
||||
|
@ -50,9 +53,7 @@ spec:
|
|||
loki-stack:
|
||||
enabled: false
|
||||
storageClass:
|
||||
nameSuffix: single
|
||||
reclaimPolicy: Retain
|
||||
allowVolumeExpansion: true
|
||||
enabled: false
|
||||
tolerations:
|
||||
# tolerate control plane
|
||||
- key: "node-role.kubernetes.io/control-plane"
|
||||
|
|
|
@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
- ./pool.yaml
|
||||
- ./single-replica-sc.yaml
|
||||
- ./dual-replica-sc.yaml
|
|
@ -0,0 +1,10 @@
|
|||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: openebs-single
|
||||
parameters:
|
||||
protocol: nvmf
|
||||
repl: "1"
|
||||
reclaimPolicy: Retain
|
||||
allowVolumeExpansion: true
|
||||
provisioner: io.openebs.csi-mayastor
|
Loading…
Reference in New Issue