diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-04-01 00:28:14 +0200 |
---|---|---|
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-04-01 02:07:51 +0200 |
commit | 44088f97e20a4e51e0355e23373f4c5c5227dade (patch) | |
tree | fbe8d6457031a53aefe06de6d68811c2e934054b /kubernetes/policy/charts/brmsgw/values.yaml | |
parent | 02adcb74d77ece36662834ade0f970f597214c1c (diff) |
[POLICY] Use common secret template in brmsgw
Use common secret template in brmsgw module to override DB credentials
comming from policy-common
For now db creds are hardcoded but will be remove in further commits.
Issue-ID: OOM-2342
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: Ic15afa9d65982d0ae3a535094f1e4b5f21758c82
Diffstat (limited to 'kubernetes/policy/charts/brmsgw/values.yaml')
-rw-r--r-- | kubernetes/policy/charts/brmsgw/values.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kubernetes/policy/charts/brmsgw/values.yaml b/kubernetes/policy/charts/brmsgw/values.yaml index 9e8bf7324b..08afdeeac0 100644 --- a/kubernetes/policy/charts/brmsgw/values.yaml +++ b/kubernetes/policy/charts/brmsgw/values.yaml @@ -22,6 +22,17 @@ global: readinessImage: readiness-check:2.0.2 ################################################################# +# Secrets metaconfig +################################################################# +secrets: + - uid: db-secret + type: basicAuth + externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}' + login: '{{ .Values.db.user }}' + password: '{{ .Values.db.password }}' + passwordPolicy: required + +################################################################# # Application configuration defaults. ################################################################# # application image @@ -38,6 +49,10 @@ config: pdpPort: 8081 nexusPort: 8081 +db: + user: policy_user + password: policy_user + # default number of instances replicaCount: 1 |