summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/components/portal-sdk/values.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-10-02 15:48:42 +0000
committerGerrit Code Review <gerrit@onap.org>2020-10-02 15:48:42 +0000
commitcc77031bc750e16f0dd425a415e676b862518c79 (patch)
treeec1c502c1bffbae89b94343cfa2baabafc97a8ee /kubernetes/portal/components/portal-sdk/values.yaml
parent4c9bb49d34b8dbadadc4c99ca39e213241fed4cd (diff)
parentd6b989d947334a7da8acc36ae064d753db360f2c (diff)
Merge "[PORTAL] Non-root user for back-end database"
Diffstat (limited to 'kubernetes/portal/components/portal-sdk/values.yaml')
-rw-r--r--kubernetes/portal/components/portal-sdk/values.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/portal/components/portal-sdk/values.yaml b/kubernetes/portal/components/portal-sdk/values.yaml
index c0f1b58c9a..4056b2aa7a 100644
--- a/kubernetes/portal/components/portal-sdk/values.yaml
+++ b/kubernetes/portal/components/portal-sdk/values.yaml
@@ -39,6 +39,12 @@ secrets:
login: '{{ .Values.cassandra.config.cassandraUsername }}'
password: '{{ .Values.cassandra.config.cassandraPassword }}'
passwordPolicy: required
+ - uid: portal-backend-db
+ type: basicAuth
+ externalSecret: '{{ tpl (default "" .Values.mariadb.config.backendDbExternalSecret) . }}'
+ login: '{{ .Values.mariadb.config.backendUserName }}'
+ password: '{{ .Values.mariadb.config.backendPassword }}'
+ passwordPolicy: required
- uid: cipher-enc-key
type: password
externalSecret: '{{ .Values.config.cipherEncKeyExternalSecret}}'
@@ -115,6 +121,10 @@ service:
mariadb:
service:
name: portal-db
+ config:
+ # backendDbExternalSecret: some secret
+ backendUserName: portal
+ backendPassword: portal
widget:
service:
name: portal-widget