summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/components/portal-app/templates
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-app/templates
parent4c9bb49d34b8dbadadc4c99ca39e213241fed4cd (diff)
parentd6b989d947334a7da8acc36ae064d753db360f2c (diff)
Merge "[PORTAL] Non-root user for back-end database"
Diffstat (limited to 'kubernetes/portal/components/portal-app/templates')
-rw-r--r--kubernetes/portal/components/portal-app/templates/deployment.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/portal/components/portal-app/templates/deployment.yaml b/kubernetes/portal/components/portal-app/templates/deployment.yaml
index 0be1fdc91f..d61f876528 100644
--- a/kubernetes/portal/components/portal-app/templates/deployment.yaml
+++ b/kubernetes/portal/components/portal-app/templates/deployment.yaml
@@ -61,6 +61,10 @@ spec:
{{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "portal-cass" "key" "password") | indent 12 }}
- name: CIPHER_ENC_KEY
{{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "cipher-enc-key" "key" "password") | indent 12 }}
+ - name: PORTAL_DB_USER
+ {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "portal-backend-db" "key" "login") | indent 12 }}
+ - name: PORTAL_DB_PASSWORD
+ {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "portal-backend-db" "key" "password") | indent 12 }}
volumeMounts:
- mountPath: /config-input
name: properties-onapportal-scrubbed