aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/clamp/charts/mariadb
diff options
context:
space:
mode:
authorvaibhavjayas <vaibhav.jayas@amdocs.com>2018-09-19 13:49:40 +0000
committervaibhavjayas <vaibhav.jayas@amdocs.com>2018-09-19 13:51:52 +0000
commit6b5fe1c8a055af23ce84b09e686016c18ccc6cca (patch)
tree2a76b617b366495183aac2a5305b1bce2633ba7c /kubernetes/clamp/charts/mariadb
parentc196546bae5346d162b3fb20de96d9df8fe260ca (diff)
Backup Task -ConfigMap Labeling CLAMP
Issue-ID: OOM-1418 Change-Id: I0a822fc302899e3ccea55b9e4ae956f7ecc744ec Signed-off-by: vaibhavjayas <vaibhav.jayas@amdocs.com>
Diffstat (limited to 'kubernetes/clamp/charts/mariadb')
-rw-r--r--kubernetes/clamp/charts/mariadb/templates/configmap.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/kubernetes/clamp/charts/mariadb/templates/configmap.yaml b/kubernetes/clamp/charts/mariadb/templates/configmap.yaml
index 66e1bb7a38..8dd2f4e5be 100644
--- a/kubernetes/clamp/charts/mariadb/templates/configmap.yaml
+++ b/kubernetes/clamp/charts/mariadb/templates/configmap.yaml
@@ -19,6 +19,11 @@ kind: ConfigMap
metadata:
name: clamp-entrypoint-initdb-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/mariadb/docker-entrypoint-initdb.d/*").AsConfig . | indent 2 }}
---
@@ -27,6 +32,11 @@ kind: ConfigMap
metadata:
name: clamp-entrypoint-drop-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/mariadb/docker-entrypoint-initdb.d/drop/*").AsConfig . | indent 2 }}
---
@@ -35,6 +45,11 @@ kind: ConfigMap
metadata:
name: clamp-entrypoint-bulkload-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/mariadb/docker-entrypoint-initdb.d/bulkload/*").AsConfig . | indent 2 }}
---
@@ -43,6 +58,11 @@ kind: ConfigMap
metadata:
name: clamp-mariadb-conf-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/mariadb/conf.d/conf1/*").AsConfig . | indent 2 }}
#{{ end }}