summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-search-data
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-search-data
parentc54f28fb24bdc7fc31ce08ff04970d8e53cb6089 (diff)
parent4cd5fc08a078e768d2e3482cf5e4d0820ce6b273 (diff)
Merge "Backup Task-AAI ConfigMap Labelling"
Diffstat (limited to 'kubernetes/aai/charts/aai-search-data')
-rw-r--r--kubernetes/aai/charts/aai-search-data/resources/config/es-payload-translation.json3
-rw-r--r--kubernetes/aai/charts/aai-search-data/templates/configmap.yaml10
2 files changed, 12 insertions, 1 deletions
diff --git a/kubernetes/aai/charts/aai-search-data/resources/config/es-payload-translation.json b/kubernetes/aai/charts/aai-search-data/resources/config/es-payload-translation.json
index b44b4ec294..8a29863bf3 100644
--- a/kubernetes/aai/charts/aai-search-data/resources/config/es-payload-translation.json
+++ b/kubernetes/aai/charts/aai-search-data/resources/config/es-payload-translation.json
@@ -13,4 +13,5 @@
"update": {"type": "text", "fielddata": true}
}
]
-} \ No newline at end of file
+}
+
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 }}