summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/charts/mariadb/templates/pvc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/so/charts/mariadb/templates/pvc.yaml')
-rw-r--r--kubernetes/so/charts/mariadb/templates/pvc.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/so/charts/mariadb/templates/pvc.yaml b/kubernetes/so/charts/mariadb/templates/pvc.yaml
index faff46ca3e..b0cd3bf238 100644
--- a/kubernetes/so/charts/mariadb/templates/pvc.yaml
+++ b/kubernetes/so/charts/mariadb/templates/pvc.yaml
@@ -14,6 +14,9 @@ metadata:
{{ toYaml .Values.persistence.annotations | indent 4 }}
{{- end }}
spec:
+ selector:
+ matchLabels:
+ name: {{ include "common.fullname" . }}
accessModes:
- {{ .Values.persistence.accessMode }}
resources: