From 2f9a6d243203cdbe2efc56b3414261b166e9a67f Mon Sep 17 00:00:00 2001
From: vaibhavjayas <vaibhav.jayas@amdocs.com>
Date: Wed, 19 Sep 2018 13:41:29 +0000
Subject: Backup Task -ConfigMap Labeling SO

Issue-ID: OOM-1412

Change-Id: Ie6abd2569fd2a987fb2b7469381f23bfac099445
Signed-off-by: vaibhavjayas <vaibhav.jayas@amdocs.com>
---
 kubernetes/so/charts/so-ssl-certs/templates/secrets.yaml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

(limited to 'kubernetes/so/charts/so-ssl-certs')

diff --git a/kubernetes/so/charts/so-ssl-certs/templates/secrets.yaml b/kubernetes/so/charts/so-ssl-certs/templates/secrets.yaml
index 2dcd08b451..021949f81a 100755
--- a/kubernetes/so/charts/so-ssl-certs/templates/secrets.yaml
+++ b/kubernetes/so/charts/so-ssl-certs/templates/secrets.yaml
@@ -20,6 +20,11 @@ data:
 metadata:
   name: {{ .Release.Name}}-so-ssl-pwd-secret
   namespace: {{ include "common.namespace" . }}
+  labels:
+    app: {{ include "common.name" . }}
+    chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+    release: {{ .Release.Name }}
+    heritage: {{ .Release.Service }}
 kind: Secret
 ---
 apiVersion: v1
@@ -31,6 +36,11 @@ data:
 metadata:
   name: {{ .Release.Name}}-so-ssl-secret
   namespace: {{ include "common.namespace" . }}
+  labels:
+    app: {{ include "common.name" . }}
+    chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+    release: {{ .Release.Name }}
+    heritage: {{ .Release.Service }}
 kind: Secret
 ---
 apiVersion: v1
@@ -42,4 +52,9 @@ data:
 metadata:
   name: {{ .Release.Name}}-so-ssl-client-secret
   namespace: {{ include "common.namespace" . }}
+  labels:
+    app: {{ include "common.name" . }}
+    chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+    release: {{ .Release.Name }}
+    heritage: {{ .Release.Service }}
 kind: Secret
\ No newline at end of file
-- 
cgit