diff options
author | jmac <james.macnider@amdocs.com> | 2018-05-16 14:53:03 +0000 |
---|---|---|
committer | jmac <james.macnider@amdocs.com> | 2018-05-30 16:46:49 +0000 |
commit | 70863e11b3d0816ad7b8f938fe60eb293b2748db (patch) | |
tree | 46e131eadc435f1c04ab81e1b9ef0dd26c004e24 /kubernetes/sdnc/templates/secrets.yaml | |
parent | 3ebcf63048e23725ef3821bd10a3ba5f5702a620 (diff) |
make sdnctl user db password configurable for SDNC
Change-Id: Ic5eda9c33abca03e2f0bc788261a3a769c5ad7ab
Signed-off-by: jmac <james.macnider@amdocs.com>
Issue-ID: OOM-970
Diffstat (limited to 'kubernetes/sdnc/templates/secrets.yaml')
-rw-r--r-- | kubernetes/sdnc/templates/secrets.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kubernetes/sdnc/templates/secrets.yaml b/kubernetes/sdnc/templates/secrets.yaml index 754f117e38..a900132c31 100644 --- a/kubernetes/sdnc/templates/secrets.yaml +++ b/kubernetes/sdnc/templates/secrets.yaml @@ -25,3 +25,17 @@ metadata: type: Opaque data: odl-password: {{ .Values.config.odlPassword | b64enc | quote }} +--- +apiVersion: v1 +kind: Secret +metadata: + name: {{ include "common.fullname" . }}-sdnctl + 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-sdnctl-password: {{ .Values.config.dbSdnctlPassword | b64enc | quote }} |