diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-07-03 06:58:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-07-03 06:58:05 +0000 |
commit | 9a684f1a990c7dfdf7e308bef00333e50164e624 (patch) | |
tree | a1e935e70712141be5449a3894926ae694668f8f /kubernetes/policy/charts/pap/templates/deployment.yaml | |
parent | 0ec964d50b0a45c30244f6ec108863ceac8e3daa (diff) | |
parent | 0379af76b82b1bb92ccf03d79f3e0d3ccdb762d6 (diff) |
Merge "[POLICY] add env passwords to api/pap/xacml/dist" into frankfurt
Diffstat (limited to 'kubernetes/policy/charts/pap/templates/deployment.yaml')
-rw-r--r-- | kubernetes/policy/charts/pap/templates/deployment.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/policy/charts/pap/templates/deployment.yaml b/kubernetes/policy/charts/pap/templates/deployment.yaml index 39ac8a81ec..6925d772d1 100644 --- a/kubernetes/policy/charts/pap/templates/deployment.yaml +++ b/kubernetes/policy/charts/pap/templates/deployment.yaml @@ -68,6 +68,11 @@ spec: imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} command: ["/opt/app/policy/pap/bin/policy-pap.sh"] args: ["/opt/app/policy/pap/etc/mounted/config.json"] + env: + - name: KEYSTORE_PASSWD + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "keystore-password" "key" "password") | indent 12 }} + - name: TRUSTSTORE_PASSWD + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "truststore-password" "key" "password") | indent 12 }} ports: - containerPort: {{ .Values.service.internalPort }} # disable liveness probe when breakpoints set in debugger |