aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mysql/templates
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/mysql/templates')
-rw-r--r--kubernetes/common/mysql/templates/statefulset.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/common/mysql/templates/statefulset.yaml b/kubernetes/common/mysql/templates/statefulset.yaml
index 1744940868..f73b10f460 100644
--- a/kubernetes/common/mysql/templates/statefulset.yaml
+++ b/kubernetes/common/mysql/templates/statefulset.yaml
@@ -251,4 +251,7 @@ spec:
resources:
requests:
storage: {{ .Values.persistence.size }}
+ selector:
+ matchLabels:
+ name: {{ include "common.fullname" . }}
{{ end }}