diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-10-27 13:58:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-10-27 13:58:45 +0000 |
commit | ad7cb4231c63130064eb174e419a300478041721 (patch) | |
tree | 38133ee2f976b1b6ce09e16678013ef923ddabda /kubernetes/policy/components/policy-clamp-be/templates/deployment.yaml | |
parent | f18b503da6d87b0d3b9f0754df59964e69730343 (diff) | |
parent | 6238df47ecfcc1d2e40c2a5bec69272999d2af12 (diff) |
Merge "[POLICY] Altered helm chart for policy-clamp-be"
Diffstat (limited to 'kubernetes/policy/components/policy-clamp-be/templates/deployment.yaml')
-rw-r--r-- | kubernetes/policy/components/policy-clamp-be/templates/deployment.yaml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kubernetes/policy/components/policy-clamp-be/templates/deployment.yaml b/kubernetes/policy/components/policy-clamp-be/templates/deployment.yaml index e61cca0e49..4354c00a30 100644 --- a/kubernetes/policy/components/policy-clamp-be/templates/deployment.yaml +++ b/kubernetes/policy/components/policy-clamp-be/templates/deployment.yaml @@ -70,7 +70,7 @@ spec: export SDC_CLIENT_PASSWORD_ENC=`java -jar {{ .Values.certInitializer.credsPath }}/aaf-cadi-aaf-2.1.20-full.jar cadi digest ${SDC_CLIENT_PASSWORD} {{ .Values.certInitializer.credsPath }}/org.onap.clamp.keyfile`; envsubst < "/opt/policy/clamp/sdc-controllers-config.json" > "/opt/policy/clamp/sdc-controllers-config-pass.json" {{- end }} - java -Djava.security.egd=file:/dev/./urandom ${JAVA_RAM_CONFIGURATION} -jar ./policy-clamp-backend.jar + java -Djava.security.egd=file:/dev/./urandom ${JAVA_RAM_CONFIGURATION} -jar ./policy-clamp-backend.jar --spring.config.location=optional:classpath:/,optional:classpath:/config/,optional:file:./,optional:file:./config/ ports: - containerPort: {{ .Values.service.internalPort }} # disable liveness probe when breakpoints set in debugger @@ -97,6 +97,10 @@ spec: name: {{ include "common.fullname" . }}-config subPath: application.properties env: + - name: RUNTIME_USER + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "runtime-be-secret" "key" "login") | indent 12 }} + - name: RUNTIME_PASSWORD + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "runtime-be-secret" "key" "password") | indent 12 }} - name: MYSQL_USER {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "db-creds" "key" "login") | indent 12 }} - name: MYSQL_PASSWORD |