summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-champ
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-09-19 15:07:11 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-19 15:07:11 +0000
commit802b768974e725e6c961f7993872b72b8d5279f1 (patch)
tree46a37d03ebc32a887cc77f170483a690ba2a5e3b /kubernetes/aai/charts/aai-champ
parentc54f28fb24bdc7fc31ce08ff04970d8e53cb6089 (diff)
parent4cd5fc08a078e768d2e3482cf5e4d0820ce6b273 (diff)
Merge "Backup Task-AAI ConfigMap Labelling"
Diffstat (limited to 'kubernetes/aai/charts/aai-champ')
-rw-r--r--kubernetes/aai/charts/aai-champ/templates/configmap.yaml17
1 files changed, 16 insertions, 1 deletions
diff --git a/kubernetes/aai/charts/aai-champ/templates/configmap.yaml b/kubernetes/aai/charts/aai-champ/templates/configmap.yaml
index 42733a7ab3..b2f16d9034 100644
--- a/kubernetes/aai/charts/aai-champ/templates/configmap.yaml
+++ b/kubernetes/aai/charts/aai-champ/templates/configmap.yaml
@@ -18,6 +18,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/appconfig/*").AsConfig . | indent 2 }}
---
@@ -26,6 +31,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/config/dynamic/conf/*").AsConfig . | indent 2 }}
---
@@ -34,5 +44,10 @@ kind: ConfigMap
metadata:
name: {{ include "common.fullname" . }}-log-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/*").AsConfig . | indent 2 }} \ No newline at end of file
+{{ tpl (.Files.Glob "resources/config/log/*").AsConfig . | indent 2 }}