diff options
author | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2019-12-11 14:08:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-12-11 14:08:59 +0000 |
commit | 6803a3e1883d627eb72a14c4a51f6cee1aaf5656 (patch) | |
tree | 8ddd92635a3e522ce71d1df300d1d7b2b3e8f4cb /kubernetes/clamp/charts/mariadb/templates/pvc.yaml | |
parent | 9d390192fce4824a1b393ab4252ba95307c10a2b (diff) | |
parent | 3a9a9788bad00f13fc17056a456ef0cbe9a5d7a4 (diff) |
Merge "[CLAMP] Use global storage templates for PVC"
Diffstat (limited to 'kubernetes/clamp/charts/mariadb/templates/pvc.yaml')
-rw-r--r-- | kubernetes/clamp/charts/mariadb/templates/pvc.yaml | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/kubernetes/clamp/charts/mariadb/templates/pvc.yaml b/kubernetes/clamp/charts/mariadb/templates/pvc.yaml index 1deed4e92a..c3c2a2259e 100644 --- a/kubernetes/clamp/charts/mariadb/templates/pvc.yaml +++ b/kubernetes/clamp/charts/mariadb/templates/pvc.yaml @@ -31,19 +31,10 @@ metadata: {{ toYaml .Values.persistence.annotations | indent 4 }} {{- end }} spec: - selector: - matchLabels: - name: {{ include "common.fullname" . }} accessModes: - {{ .Values.persistence.accessMode }} resources: requests: storage: {{ .Values.persistence.size }} -{{- if .Values.persistence.storageClass }} -{{- if (eq "-" .Values.persistence.storageClass) }} - storageClassName: "" -{{- else }} - storageClassName: "{{ .Values.persistence.storageClass }}" -{{- end }} -{{- end }} + storageClassName: {{ include "common.storageClass" . }} {{- end -}} |