From 4cd5fc08a078e768d2e3482cf5e4d0820ce6b273 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 --- kubernetes/aai/charts/aai-data-router/templates/configmap.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'kubernetes/aai/charts/aai-data-router/templates/configmap.yaml') diff --git a/kubernetes/aai/charts/aai-data-router/templates/configmap.yaml b/kubernetes/aai/charts/aai-data-router/templates/configmap.yaml index 9373f41611..6cfc3bef7a 100644 --- a/kubernetes/aai/charts/aai-data-router/templates/configmap.yaml +++ b/kubernetes/aai/charts/aai-data-router/templates/configmap.yaml @@ -17,6 +17,11 @@ kind: ConfigMap metadata: name: {{ include "common.fullname" . }}-prop 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/*").AsConfig . | indent 2 }} --- @@ -25,6 +30,11 @@ kind: ConfigMap metadata: name: {{ include "common.fullname" . }}-dynamic 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/dynamic/routes/entity-event.route").AsConfig . | indent 2 }} {{ tpl (.Files.Glob "resources/dynamic/conf/entity-event-policy.xml").AsConfig . | indent 2 }} -- cgit 1.2.3-korg