aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-galera/templates
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-10-28 21:56:33 -0400
committerAlexis de Talhouët <alexis.de_talhouet@bell.ca>2018-10-30 14:15:52 +0000
commit634b455354619244a128c072974f2929683b5fd4 (patch)
tree7cc0ca3bbef4c85844c2f7b4686a76c696bac358 /kubernetes/common/mariadb-galera/templates
parent6723eb71240790956e0a9961019b451296a6d307 (diff)
Add missing selectors on PVC
Change-Id: If156e738a26c7c19043657c97ac327125c5162db Issue-ID: OOM-1486 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'kubernetes/common/mariadb-galera/templates')
-rw-r--r--kubernetes/common/mariadb-galera/templates/statefulset.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/common/mariadb-galera/templates/statefulset.yaml b/kubernetes/common/mariadb-galera/templates/statefulset.yaml
index d3bad4f5b6..2266bfc4e2 100644
--- a/kubernetes/common/mariadb-galera/templates/statefulset.yaml
+++ b/kubernetes/common/mariadb-galera/templates/statefulset.yaml
@@ -126,4 +126,7 @@ spec:
resources:
requests:
storage: {{ .Values.persistence.size | quote }}
+ selector:
+ matchLabels:
+ name: {{ include "common.fullname" . }}
{{- end }}