summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/templates
diff options
context:
space:
mode:
authortoshrajbhardwaj <toshrajbhardwaj@gmail.com>2018-09-14 05:11:17 +0000
committertoshrajbhardwaj <toshrajbhardwaj@gmail.com>2018-09-14 05:12:58 +0000
commit6f16f1e260c9974eb6706401d2f92c087e3d9f86 (patch)
treed21b9d9978f8b5f33018b29d81ffb06cb07de268 /kubernetes/sdc/templates
parenta859647740e19b62c44244e256c48a8847900259 (diff)
sdc portal Config Map Labelling
Issue-ID: OOM-1390 Change-Id: I8fe0dbde62cb8d88ec18321078ea6740bad8524a Signed-off-by: toshrajbhardwaj <toshrajbhardwaj@gmail.com>
Diffstat (limited to 'kubernetes/sdc/templates')
-rw-r--r--kubernetes/sdc/templates/configmap.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/sdc/templates/configmap.yaml b/kubernetes/sdc/templates/configmap.yaml
index affae0c197..1e69c97586 100644
--- a/kubernetes/sdc/templates/configmap.yaml
+++ b/kubernetes/sdc/templates/configmap.yaml
@@ -18,6 +18,11 @@ kind: ConfigMap
metadata:
name: {{ .Release.Name }}-sdc-environments-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/environments/*").AsConfig . | indent 2 }}
---
@@ -26,5 +31,10 @@ kind: ConfigMap
metadata:
name: {{ .Release.Name }}-sdc-filebeat-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/filebeat/*").AsConfig . | indent 2 }}