diff options
author | 2020-10-02 15:48:42 +0000 | |
---|---|---|
committer | 2020-10-02 15:48:42 +0000 | |
commit | cc77031bc750e16f0dd425a415e676b862518c79 (patch) | |
tree | ec1c502c1bffbae89b94343cfa2baabafc97a8ee /kubernetes/portal/components/portal-app/templates | |
parent | 4c9bb49d34b8dbadadc4c99ca39e213241fed4cd (diff) | |
parent | d6b989d947334a7da8acc36ae064d753db360f2c (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.yaml | 4 |
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 |