diff options
author | Hector Anapan-Lavalle <ha076r@att.com> | 2018-08-07 21:31:05 -0400 |
---|---|---|
committer | Alexis de Talhouƫt <alexis.de_talhouet@bell.ca> | 2018-08-14 14:57:17 +0000 |
commit | 3d8a6a1c944bfb686a4be2dcbc2c7cf7269add17 (patch) | |
tree | 8724812a6a173ee804b609fb9c98d530f2782e69 | |
parent | 76ca0ffeb55c6a8bb155b81c6a69c54fef46a067 (diff) |
Add missing release labels to pod metadata
Change-Id: I0b4bda9b57b42b2853bffbebf18a81f5142ece97
Issue-ID: OOM-1319
Signed-off-by: Hector Anapan-Lavalle <ha076r@att.com>
-rw-r--r-- | kubernetes/aai/templates/deployment.yaml | 1 | ||||
-rw-r--r-- | kubernetes/vid/charts/vid-galera/templates/statefulset.yaml | 1 | ||||
-rw-r--r-- | kubernetes/vid/templates/vid-galera-config-job.yaml | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/aai/templates/deployment.yaml b/kubernetes/aai/templates/deployment.yaml index 6216758749..46d7c6404a 100644 --- a/kubernetes/aai/templates/deployment.yaml +++ b/kubernetes/aai/templates/deployment.yaml @@ -14,6 +14,7 @@ spec: metadata: labels: app: {{ include "common.name" . }} + release: {{ .Release.Name }} name: {{ .Release.Name }} spec: initContainers: 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: |