summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2018-08-16 15:17:28 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-16 15:17:28 +0000
commit3e9a94d08fbaf7e35055a65580b4553389313212 (patch)
treeef674457bc403ea0a5cd392c80633ed883b56dcd /kubernetes
parentc640ec2b8d6f0033e12560ffa8d450972ceac760 (diff)
parent3d8a6a1c944bfb686a4be2dcbc2c7cf7269add17 (diff)
Merge "Add missing release labels to pod metadata"
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/aai/templates/deployment.yaml1
-rw-r--r--kubernetes/vid/charts/vid-galera/templates/statefulset.yaml1
-rw-r--r--kubernetes/vid/templates/vid-galera-config-job.yaml2
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: