aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-galera/templates/statefulset.yaml
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2019-11-27 15:43:03 +0000
committerGerrit Code Review <gerrit@onap.org>2019-11-27 15:43:03 +0000
commit9b0adea0769b026875ee312d223960c559c700bb (patch)
tree784cac3de7cba709c4f3d2108ce9a508104db3cc /kubernetes/common/mariadb-galera/templates/statefulset.yaml
parenta362d9ba0fd2ece5cd39d4b43ae92ea88486db35 (diff)
parent524c878aae090a1975ec3656993580b893b858c7 (diff)
Merge "Create templates for global storage use"
Diffstat (limited to 'kubernetes/common/mariadb-galera/templates/statefulset.yaml')
-rw-r--r--kubernetes/common/mariadb-galera/templates/statefulset.yaml5
1 files changed, 1 insertions, 4 deletions
diff --git a/kubernetes/common/mariadb-galera/templates/statefulset.yaml b/kubernetes/common/mariadb-galera/templates/statefulset.yaml
index b0b7174811..2e770367b3 100644
--- a/kubernetes/common/mariadb-galera/templates/statefulset.yaml
+++ b/kubernetes/common/mariadb-galera/templates/statefulset.yaml
@@ -130,11 +130,8 @@ spec:
spec:
accessModes:
- {{ .Values.persistence.accessMode | quote }}
- storageClassName: {{ include "common.fullname" . }}-data
+ storageClassName: {{ include "common.storageClass" . }}
resources:
requests:
storage: {{ .Values.persistence.size | quote }}
- selector:
- matchLabels:
- name: {{ include "common.fullname" . }}
{{- end }}