[NBI] Simplify cert retrieval script 57/118257/3
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 23 Feb 2021 15:21:19 +0000 (16:21 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 13 Apr 2021 06:34:23 +0000 (06:34 +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: Ie7f46f848bdb433023d2d8cf170f1efe7831c4f4

kubernetes/nbi/values.yaml

index 7b9c150..a94bd4d 100644 (file)
@@ -42,9 +42,8 @@ certInitializer:
   app_ns: org.osaaf.aaf
   credsPath: /opt/app/osaaf/local
   aaf_add_config: >
-    /opt/app/aaf_config/bin/agent.sh;
-    /opt/app/aaf_config/bin/agent.sh local showpass
-    {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
+    echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop
+    echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop
 
 aafConfig:
   permission_user: 1000