diff options
author | vaibhav_16dec <vaibhav.chopra@amdocs.com> | 2018-09-19 14:09:44 +0000 |
---|---|---|
committer | vaibhav_16dec <vaibhav.chopra@amdocs.com> | 2018-09-19 14:11:07 +0000 |
commit | 956bebf153e336903d97b3bbe07b2bf030ed1cc1 (patch) | |
tree | 563f213433d26edf6fb507b7ff94c38335947273 /kubernetes/consul/templates | |
parent | c196546bae5346d162b3fb20de96d9df8fe260ca (diff) |
Backup Task: consul configmap enabelling
Issue-ID: OOM-1413
Change-Id: Iacde9533b7a65dbf468965de140a313a3b741adb
Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
Diffstat (limited to 'kubernetes/consul/templates')
-rw-r--r-- | kubernetes/consul/templates/configmap.yaml | 10 | ||||
-rw-r--r-- | kubernetes/consul/templates/secrets.yaml | 5 |
2 files changed, 15 insertions, 0 deletions
diff --git a/kubernetes/consul/templates/configmap.yaml b/kubernetes/consul/templates/configmap.yaml index 622d5c623e..56b34790f9 100644 --- a/kubernetes/consul/templates/configmap.yaml +++ b/kubernetes/consul/templates/configmap.yaml @@ -18,6 +18,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/consul-agent-config/*").AsConfig . | indent 2 }} --- @@ -26,5 +31,10 @@ kind: ConfigMap metadata: name: {{ include "common.fullname" . }}-scripts-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/consul-agent-config/scripts/*").AsConfig . | indent 2 }} diff --git a/kubernetes/consul/templates/secrets.yaml b/kubernetes/consul/templates/secrets.yaml index eb0d02c10f..7cc711075e 100644 --- a/kubernetes/consul/templates/secrets.yaml +++ b/kubernetes/consul/templates/secrets.yaml @@ -17,5 +17,10 @@ kind: Secret metadata: name: {{ include "common.fullname" . }}-certs-secret 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/consul-agent-config/certs/*").AsSecrets . | indent 2 }} |