From 2f9a6d243203cdbe2efc56b3414261b166e9a67f Mon Sep 17 00:00:00 2001 From: vaibhavjayas Date: Wed, 19 Sep 2018 13:41:29 +0000 Subject: Backup Task -ConfigMap Labeling SO Issue-ID: OOM-1412 Change-Id: Ie6abd2569fd2a987fb2b7469381f23bfac099445 Signed-off-by: vaibhavjayas --- .../so/charts/so-request-db-adapter/templates/configmap.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'kubernetes/so/charts/so-request-db-adapter/templates') diff --git a/kubernetes/so/charts/so-request-db-adapter/templates/configmap.yaml b/kubernetes/so/charts/so-request-db-adapter/templates/configmap.yaml index a03dbd8930..b94f35f553 100755 --- a/kubernetes/so/charts/so-request-db-adapter/templates/configmap.yaml +++ b/kubernetes/so/charts/so-request-db-adapter/templates/configmap.yaml @@ -19,11 +19,21 @@ kind: ConfigMap metadata: name: {{ include "common.fullname" . }}-configmap namespace: {{ include "common.namespace" . }} + labels: + app: {{ include "common.name" . }} + chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} --- apiVersion: v1 kind: ConfigMap metadata: name: {{ include "common.fullname" . }}-app-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/overrides/*").AsConfig . | indent 2 }} -- cgit 1.2.3-korg