Merge "[PLATFORM] Remove certificate generation deployment"
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 11 May 2021 15:59:08 +0000 (15:59 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 11 May 2021 15:59:08 +0000 (15:59 +0000)
kubernetes/common/cert-wrapper/resources/import-custom-certs.sh
kubernetes/sdc/components/sdc-onboarding-be/templates/deployment.yaml

index ec1ce94..cb4153e 100755 (executable)
@@ -58,7 +58,8 @@ done
 # Prepare truststore output file
 if [ "$AAF_ENABLED" = "true" ]
   then
-    mv $WORK_DIR/$ONAP_TRUSTSTORE $WORK_DIR/$TRUSTSTORE_OUTPUT_FILENAME
+    echo "AAF is enabled, use 'AAF' truststore"
+    export TRUSTSTORE_OUTPUT_FILENAME=${ONAP_TRUSTSTORE}
   else
     echo "AAF is disabled, using JRE truststore"
     cp $JRE_TRUSTSTORE $WORK_DIR/$TRUSTSTORE_OUTPUT_FILENAME
index 5c530fe..af53fd6 100644 (file)
@@ -93,7 +93,7 @@ spec:
             memory: 20Mi
       {{- end }}
       - name: volume-permissions
-        image: {{ .Values.global.busyboxRepository | default .Values.busyboxRepository }}/{{ .Values.global.busyboxImage | default .Values.busyboxImage }}
+        image: {{ include "repositoryGenerator.image.busybox" . }}
         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         command:
           - sh