diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-03-24 06:26:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-03-24 06:26:46 +0000 |
commit | 48e2ca740dcc1fe91b93b54343f5d19f7d7e559a (patch) | |
tree | 958911d2a3dfdf1ab1fb2a97bd963b422f723c1b /kubernetes/vid/templates/deployment.yaml | |
parent | e9a9b44c3c2cb29e5d1dec1335e45968b01e578a (diff) | |
parent | f4c617541779b756f85e641ae9d9e3a1c617e55e (diff) |
Merge "[VID] Obfuscate truststore password at the entrypoint"
Diffstat (limited to 'kubernetes/vid/templates/deployment.yaml')
-rw-r--r-- | kubernetes/vid/templates/deployment.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/vid/templates/deployment.yaml b/kubernetes/vid/templates/deployment.yaml index 8872863e42..d1b4bcdbf2 100644 --- a/kubernetes/vid/templates/deployment.yaml +++ b/kubernetes/vid/templates/deployment.yaml @@ -63,6 +63,8 @@ spec: - -c - | export $(cat {{ .Values.certInitializer.credsPath }}/mycreds.prop | xargs -0) + export VID_TRUSTSTORE_PLAIN_PASSWORD=${VID_TRUSTSTORE_PASSWORD} + export VID_TRUSTSTORE_PASSWORD=`java -cp /usr/local/tomcat/webapps/vid/WEB-INF/lib/jetty-util-9.4.20.v20190813.jar org.eclipse.jetty.util.security.Password ${VID_TRUSTSTORE_PLAIN_PASSWORD} 2>&1 | grep "OBF:"` /tmp/vid/localize.sh {{- end }} ports: |