Ceph: Make provision_storage_class have an effect
Currently, "general" storage class always created even if provision_storage_class is set to false. This patch fixed storageclass template to check the option is enabled. Change-Id: I6397b24fa9c6517f2646e53ea0f601ad2aa4b9f8
This commit is contained in:
parent
c699614b2d
commit
411e1bd86a
@ -17,6 +17,7 @@ limitations under the License.
|
||||
{{- if .Values.manifests.storageclass }}
|
||||
{{- $envAll := . }}
|
||||
{{- if .Values.deployment.ceph }}
|
||||
{{- if .Values.storageclass.provision_storage_class }}
|
||||
---
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
@ -33,3 +34,4 @@ parameters:
|
||||
userSecretName: {{ .Values.storageclass.user_secret_name }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
Loading…
Reference in New Issue
Block a user