From 3d8a6a1c944bfb686a4be2dcbc2c7cf7269add17 Mon Sep 17 00:00:00 2001 From: Hector Anapan-Lavalle Date: Tue, 7 Aug 2018 21:31:05 -0400 Subject: Add missing release labels to pod metadata Change-Id: I0b4bda9b57b42b2853bffbebf18a81f5142ece97 Issue-ID: OOM-1319 Signed-off-by: Hector Anapan-Lavalle --- kubernetes/vid/charts/vid-galera/templates/statefulset.yaml | 1 + kubernetes/vid/templates/vid-galera-config-job.yaml | 2 ++ 2 files changed, 3 insertions(+) (limited to 'kubernetes/vid') diff --git a/kubernetes/vid/charts/vid-galera/templates/statefulset.yaml b/kubernetes/vid/charts/vid-galera/templates/statefulset.yaml index 5470fdcc1c..7d6ce6e676 100644 --- a/kubernetes/vid/charts/vid-galera/templates/statefulset.yaml +++ b/kubernetes/vid/charts/vid-galera/templates/statefulset.yaml @@ -16,6 +16,7 @@ spec: metadata: labels: app: {{ include "common.fullname" . }} + release: {{ .Release.Name }} annotations: pod.alpha.kubernetes.io/initialized: "true" spec: diff --git a/kubernetes/vid/templates/vid-galera-config-job.yaml b/kubernetes/vid/templates/vid-galera-config-job.yaml index b02d5b4913..0e32261019 100644 --- a/kubernetes/vid/templates/vid-galera-config-job.yaml +++ b/kubernetes/vid/templates/vid-galera-config-job.yaml @@ -9,6 +9,8 @@ metadata: spec: template: metadata: + labels: + release: {{ .Release.Name }} name: vid-galera-init spec: initContainers: -- cgit 1.2.3-korg