diff --git a/ceph/templates/storageclass.yaml b/ceph/templates/storageclass.yaml index fde0d14507..4916d0caa8 100644 --- a/ceph/templates/storageclass.yaml +++ b/ceph/templates/storageclass.yaml @@ -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 }}