summaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/dmaap-dr-node/templates/post-install-job.yaml
diff options
context:
space:
mode:
authorOndřej Šmalec <o.smalec@partner.samsung.com>2019-08-14 15:50:06 +0200
committerOndřej Šmalec <o.smalec@partner.samsung.com>2019-09-02 16:34:17 +0200
commit21a2b5e67d78ad321e307aa39d5d55aaf37c8353 (patch)
treef0f3e5e6eb65735218b4561ef2b00bb59b38430d /kubernetes/dmaap/components/dmaap-dr-node/templates/post-install-job.yaml
parenta3a05b55e7eb3f6611dac87c49754de760f8508f (diff)
Modifying dmaap job labels because of inconsistency with other jobs.
Mainly adding release label there. Issue-ID: OOM-2043 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: Ieeedec79fd85b7ede4752a973ec42ea648f7d6a0 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com>
Diffstat (limited to 'kubernetes/dmaap/components/dmaap-dr-node/templates/post-install-job.yaml')
-rw-r--r--kubernetes/dmaap/components/dmaap-dr-node/templates/post-install-job.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/dmaap/components/dmaap-dr-node/templates/post-install-job.yaml b/kubernetes/dmaap/components/dmaap-dr-node/templates/post-install-job.yaml
index 92349b8bf2..ede3f4999c 100644
--- a/kubernetes/dmaap/components/dmaap-dr-node/templates/post-install-job.yaml
+++ b/kubernetes/dmaap/components/dmaap-dr-node/templates/post-install-job.yaml
@@ -6,6 +6,7 @@ metadata:
app.kubernetes.io/managed-by: {{.Release.Service | quote }}
app.kubernetes.io/instance: {{.Release.Name | quote }}
helm.sh/chart: "{{.Chart.Name}}-{{.Chart.Version}}"
+ release: {{ .Release.Name }}
annotations:
# This is what defines this resource as a hook. Without this line, the
# job is considered part of the release.
@@ -20,6 +21,7 @@ spec:
app.kubernetes.io/managed-by: {{.Release.Service | quote }}
app.kubernetes.io/instance: {{.Release.Name | quote }}
helm.sh/chart: "{{.Chart.Name}}-{{.Chart.Version}}"
+ release: {{ .Release.Name }}
spec:
restartPolicy: Never
containers: