Merge "[COMMON][MUSIC] Simplify cert retrieval script"
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 6 May 2021 13:35:16 +0000 (13:35 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 6 May 2021 13:35:16 +0000 (13:35 +0000)
kubernetes/common/music/values.yaml

index 25cab91..f578949 100644 (file)
@@ -164,5 +164,4 @@ certInitializer:
   credsPath: /opt/app/osaaf/local
   appMountPath: /opt/app/aafcertman
   aaf_add_config: >
-    cd {{ .Values.credsPath }};
-    /opt/app/aaf_config/bin/agent.sh local showpass {{.Values.fqi}} {{ .Values.fqdn }} | grep cadi_keystore_password_jks= | cut -d= -f 2 > {{ .Values.credsPath }}/.pass 2>&1;
+    echo "$cadi_keystore_password_jks" > {{ .Values.credsPath }}/.pass;