summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/secrets.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-04-02 18:02:43 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-02 18:02:43 +0000
commit7000165ab96099998a21ec1ed8f306f50947c2ea (patch)
treef47d1cd20bf02c176a6def50a25dea6c98365190 /kubernetes/sdnc/templates/secrets.yaml
parentd2698e52cfce661bab74fdf23c4bbd39af8cfe73 (diff)
parent065e2ce2d14ddc3a698a8ad4dfb77ade8e3f95f4 (diff)
Merge "Add Standardized Configuration to SDN-C Chart"
Diffstat (limited to 'kubernetes/sdnc/templates/secrets.yaml')
-rw-r--r--kubernetes/sdnc/templates/secrets.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/kubernetes/sdnc/templates/secrets.yaml b/kubernetes/sdnc/templates/secrets.yaml
new file mode 100644
index 0000000000..345c194d96
--- /dev/null
+++ b/kubernetes/sdnc/templates/secrets.yaml
@@ -0,0 +1,13 @@
+apiVersion: v1
+kind: Secret
+metadata:
+ name: {{ include "common.fullname" . }}
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.fullname" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+type: Opaque
+data:
+ db-root-password: {{ .Values.config.dbRootPassword | b64enc | quote }}