diff options
author | Mandeep Khinda <Mandeep.Khinda@amdocs.com> | 2018-09-19 15:07:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-09-19 15:07:11 +0000 |
commit | 802b768974e725e6c961f7993872b72b8d5279f1 (patch) | |
tree | 46a37d03ebc32a887cc77f170483a690ba2a5e3b /kubernetes/aai/charts/aai-search-data | |
parent | c54f28fb24bdc7fc31ce08ff04970d8e53cb6089 (diff) | |
parent | 4cd5fc08a078e768d2e3482cf5e4d0820ce6b273 (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.json | 3 | ||||
-rw-r--r-- | kubernetes/aai/charts/aai-search-data/templates/configmap.yaml | 10 |
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 }} |