aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/vid/charts/vid-mariadb-galera
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/vid/charts/vid-mariadb-galera
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/vid/charts/vid-mariadb-galera')
-rw-r--r--kubernetes/vid/charts/vid-mariadb-galera/templates/statefulset.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/vid/charts/vid-mariadb-galera/templates/statefulset.yaml b/kubernetes/vid/charts/vid-mariadb-galera/templates/statefulset.yaml
index 0c77a17261..e90b1564e8 100644
--- a/kubernetes/vid/charts/vid-mariadb-galera/templates/statefulset.yaml
+++ b/kubernetes/vid/charts/vid-mariadb-galera/templates/statefulset.yaml
@@ -120,6 +120,8 @@ spec:
volumeClaimTemplates:
- metadata:
name: {{ include "common.fullname" . }}-data
+ labels:
+ name: {{ include "common.fullname" . }}
annotations:
{{- if .Values.persistence.storageClass }}
volume.beta.kubernetes.io/storage-class: {{ .Values.persistence.storageClass | quote }}
@@ -132,4 +134,7 @@ spec:
resources:
requests:
storage: {{ .Values.persistence.size | quote }}
+ selector:
+ matchLabels:
+ name: {{ include "common.fullname" . }}
{{- end }}