From 634b455354619244a128c072974f2929683b5fd4 Mon Sep 17 00:00:00 2001 From: Alexis de Talhouët Date: Sun, 28 Oct 2018 21:56:33 -0400 Subject: Add missing selectors on PVC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If156e738a26c7c19043657c97ac327125c5162db Issue-ID: OOM-1486 Signed-off-by: Alexis de Talhouët --- kubernetes/vid/charts/vid-mariadb-galera/templates/statefulset.yaml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'kubernetes/vid') 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 }} -- cgit 1.2.3-korg