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-search-data/templates/configmap.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'kubernetes/aai/charts/aai-search-data/templates/configmap.yaml') diff --git a/kubernetes/aai/charts/aai-search-data/templates/configmap.yaml b/kubernetes/aai/charts/aai-search-data/templates/configmap.yaml index 2b3ec89eee..b1547f42aa 100644 --- a/kubernetes/aai/charts/aai-search-data/templates/configmap.yaml +++ b/kubernetes/aai/charts/aai-search-data/templates/configmap.yaml @@ -17,6 +17,11 @@ kind: ConfigMap metadata: name: {{ include "common.fullname" . }} 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,5 +30,10 @@ kind: ConfigMap metadata: name: {{ include "common.fullname" . }}-service-log 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/logback.xml").AsConfig . | indent 2 }} -- cgit 1.2.3-korg