diff options
author | 2020-04-01 06:02:39 +0000 | |
---|---|---|
committer | 2020-04-01 06:02:39 +0000 | |
commit | 39690f2a3291bb70c6d64f2bb1f4216eeafcf7ba (patch) | |
tree | a326358130851b10d9438fc77dd9fcedb908b154 /kubernetes/policy/charts/policy-xacml-pdp/templates/deployment.yaml | |
parent | a9c127bbfe3e213da19ba9f5a59ed00292e6d066 (diff) | |
parent | 7e31efc10b7c266374dae6b5f125d2b607f62cc2 (diff) |
Merge "[POLICY] Use common secret template in policy-xacml"
Diffstat (limited to 'kubernetes/policy/charts/policy-xacml-pdp/templates/deployment.yaml')
-rw-r--r-- | kubernetes/policy/charts/policy-xacml-pdp/templates/deployment.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/policy/charts/policy-xacml-pdp/templates/deployment.yaml b/kubernetes/policy/charts/policy-xacml-pdp/templates/deployment.yaml index 57e7c78218..5b02c177b5 100644 --- a/kubernetes/policy/charts/policy-xacml-pdp/templates/deployment.yaml +++ b/kubernetes/policy/charts/policy-xacml-pdp/templates/deployment.yaml @@ -37,6 +37,11 @@ spec: imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} command: ["/opt/app/policy/pdpx/bin/policy-pdpx.sh"] args: ["/opt/app/policy/pdpx/etc/mounted/config.json"] + env: + - name: SQL_USER + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "db-secret" "key" "login") | indent 12 }} + - name: SQL_PASSWORD + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "db-secret" "key" "password") | indent 12 }} ports: - containerPort: {{ .Values.service.internalPort }} # disable liveness probe when breakpoints set in debugger |