[COMMON][MUSIC] Simplify cert retrieval script 55/118255/11
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 23 Feb 2021 15:14:09 +0000 (16:14 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 6 May 2021 05:36:03 +0000 (05:36 +0000)
As retrieving values is now done via a generic script, let's clean a
little bit cert retrieval in order to remove unneeded part.

Issue-ID: OOM-2688
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I9da14ac5079b2888352bccb8eae984c8421d900f

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;