aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mysql/templates/storageclass.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/mysql/templates/storageclass.yaml')
-rw-r--r--kubernetes/common/mysql/templates/storageclass.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/common/mysql/templates/storageclass.yaml b/kubernetes/common/mysql/templates/storageclass.yaml
index 398c998e0f..3cd502ea30 100644
--- a/kubernetes/common/mysql/templates/storageclass.yaml
+++ b/kubernetes/common/mysql/templates/storageclass.yaml
@@ -14,9 +14,11 @@
# limitations under the License.
*/}}
+{{ if not .Values.disableNfsProvisioner }}
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: "{{ include "common.fullname" . }}-data"
namespace: {{ include "common.namespace" . }}
provisioner: {{ include "common.fullname" . }}/nfs
+{{ end }}