From 21a2b5e67d78ad321e307aa39d5d55aaf37c8353 Mon Sep 17 00:00:00 2001 From: Ondřej Šmalec Date: Wed, 14 Aug 2019 15:50:06 +0200 Subject: Modifying dmaap job labels because of inconsistency with other jobs. Mainly adding release label there. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue-ID: OOM-2043 Signed-off-by: Ondřej Šmalec Change-Id: Ieeedec79fd85b7ede4752a973ec42ea648f7d6a0 Signed-off-by: Ondřej Šmalec --- .../dmaap/components/dmaap-dr-node/templates/post-install-job.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kubernetes/dmaap/components/dmaap-dr-node') 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: -- cgit 1.2.3-korg