From 00916c8c59157488eab7d1457dbb7c55541c382d Mon Sep 17 00:00:00 2001 From: toshrajbhardwaj Date: Tue, 18 Sep 2018 03:24:47 +0000 Subject: Backup Task-AAI ConfigMap Labelling Issue-ID: OOM-1396 Change-Id: I6eb0725e6692532dddf58913aef787845a1d2d4e Signed-off-by: toshrajbhardwaj --- templates/configmap.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'templates') diff --git a/templates/configmap.yaml b/templates/configmap.yaml index bd5f9b9..212f9cd 100644 --- a/templates/configmap.yaml +++ b/templates/configmap.yaml @@ -18,6 +18,11 @@ kind: ConfigMap metadata: name: aai-filebeat namespace: {{ include "common.namespace" . }} + labels: + app: {{ include "common.name" . }} + chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} data: {{ tpl (.Files.Glob "resources/config/log/filebeat/*").AsConfig . | indent 2 }} --- @@ -26,6 +31,11 @@ kind: ConfigMap metadata: name: aai-deployment-configmap namespace: {{ include "common.namespace" . }} + labels: + app: {{ include "common.name" . }} + chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} data: {{ tpl (.Files.Glob "resources/config/haproxy/haproxy.cfg").AsConfig . | indent 2 }} --- @@ -34,6 +44,11 @@ kind: Secret metadata: name: aai-haproxy-secret namespace: {{ include "common.namespace" . }} + labels: + app: {{ include "common.name" . }} + chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} type: Opaque data: {{ tpl (.Files.Glob "resources/config/haproxy/aai.pem").AsSecrets . | indent 2 }} @@ -44,6 +59,11 @@ kind: Secret metadata: name: aai-auth-truststore-secret namespace: {{ include "common.namespace" . }} + labels: + app: {{ include "common.name" . }} + chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} type: Opaque data: {{ tpl (.Files.Glob "resources/config/aai/*").AsSecrets . | indent 2 }} -- cgit 1.2.3-korg