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
|
enabled: true
|
||||||
hostpathClass:
|
hostpathClass:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
reclaimPolicy: Retain
|
||||||
|
|
||||||
# Refer to https://github.com/openebs/mayastor-extensions/blob/v2.7.0/chart/values.yaml for complete set of values.
|
# Refer to https://github.com/openebs/mayastor-extensions/blob/v2.7.0/chart/values.yaml for complete set of values.
|
||||||
mayastor:
|
mayastor:
|
||||||
|
@ -41,7 +42,9 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
enabled: true
|
enabled: true
|
||||||
etcd:
|
etcd:
|
||||||
# -- Kubernetes Cluster Domain
|
localpvScConfig:
|
||||||
|
enabled: true
|
||||||
|
reclaimPolicy: Retain
|
||||||
clusterDomain: cluster.local
|
clusterDomain: cluster.local
|
||||||
crds:
|
crds:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
@ -50,9 +53,7 @@ spec:
|
||||||
loki-stack:
|
loki-stack:
|
||||||
enabled: false
|
enabled: false
|
||||||
storageClass:
|
storageClass:
|
||||||
nameSuffix: single
|
enabled: false
|
||||||
reclaimPolicy: Retain
|
|
||||||
allowVolumeExpansion: true
|
|
||||||
tolerations:
|
tolerations:
|
||||||
# tolerate control plane
|
# tolerate control plane
|
||||||
- key: "node-role.kubernetes.io/control-plane"
|
- key: "node-role.kubernetes.io/control-plane"
|
||||||
|
|
|
@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./pool.yaml
|
- ./pool.yaml
|
||||||
|
- ./single-replica-sc.yaml
|
||||||
- ./dual-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