diff options
author | toshrajbhardwaj <toshrajbhardwaj@gmail.com> | 2018-09-18 10:02:00 +0000 |
---|---|---|
committer | toshrajbhardwaj <toshrajbhardwaj@gmail.com> | 2018-09-18 10:03:43 +0000 |
commit | 6d1f8dffa11850e0df0eb49629d52f938fcc59b8 (patch) | |
tree | 50c70cc70024ebe32e279b2b090e5c9bddbb5b6a /kubernetes/sdnc/sdnc-prom | |
parent | ffb5d8f810679b24211060cb895b79d1851c3de0 (diff) |
Backup Task-SDNC ConfigMap
Issue-ID: OOM-1404
Change-Id: If2ea6cc54a5dbfbb475e9abc8b2444a2053c6603
Signed-off-by: toshrajbhardwaj <toshrajbhardwaj@gmail.com>
Diffstat (limited to 'kubernetes/sdnc/sdnc-prom')
-rw-r--r-- | kubernetes/sdnc/sdnc-prom/templates/configmap.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/sdnc/sdnc-prom/templates/configmap.yaml b/kubernetes/sdnc/sdnc-prom/templates/configmap.yaml index cf4332334b..3e885128f4 100644 --- a/kubernetes/sdnc/sdnc-prom/templates/configmap.yaml +++ b/kubernetes/sdnc/sdnc-prom/templates/configmap.yaml @@ -17,6 +17,11 @@ 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 }} data: {{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }} --- @@ -25,5 +30,10 @@ kind: ConfigMap metadata: name: {{ include "common.fullname" . }}-scripts 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/bin/*").AsConfig . | indent 2 }} |