adding a selector in so/mariadb/pvc
[oom.git] / kubernetes / so / charts / mariadb / templates / pvc.yaml
index faff46c..b0cd3bf 100644 (file)
@@ -14,6 +14,9 @@ metadata:
 {{ toYaml .Values.persistence.annotations | indent 4 }}
 {{- end }}
 spec:
+  selector:
+    matchLabels:
+      name: {{ include "common.fullname" . }}
   accessModes:
     - {{ .Values.persistence.accessMode }}
   resources: