From 6f16f1e260c9974eb6706401d2f92c087e3d9f86 Mon Sep 17 00:00:00 2001 From: toshrajbhardwaj Date: Fri, 14 Sep 2018 05:11:17 +0000 Subject: sdc portal Config Map Labelling Issue-ID: OOM-1390 Change-Id: I8fe0dbde62cb8d88ec18321078ea6740bad8524a Signed-off-by: toshrajbhardwaj --- kubernetes/sdc/templates/configmap.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'kubernetes/sdc/templates') diff --git a/kubernetes/sdc/templates/configmap.yaml b/kubernetes/sdc/templates/configmap.yaml index affae0c197..1e69c97586 100644 --- a/kubernetes/sdc/templates/configmap.yaml +++ b/kubernetes/sdc/templates/configmap.yaml @@ -18,6 +18,11 @@ kind: ConfigMap metadata: name: {{ .Release.Name }}-sdc-environments-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/environments/*").AsConfig . | indent 2 }} --- @@ -26,5 +31,10 @@ kind: ConfigMap metadata: name: {{ .Release.Name }}-sdc-filebeat-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/log/filebeat/*").AsConfig . | indent 2 }} -- cgit 1.2.3-korg