[AAI] Update truststore path to generated certificate location 35/121935/2
authorHarish Venkata Kajur <vk250x@att.com>
Tue, 15 Jun 2021 15:49:16 +0000 (11:49 -0400)
committerHarish Venkata Kajur <vk250x@att.com>
Wed, 16 Jun 2021 16:28:25 +0000 (12:28 -0400)
After the change to use the generated certificate
the path to where the truststoreONAPAll.jks is changed
so updating location to match that

Issue-ID: AAI-3350
Change-Id: Ic20cd2c87eb66ca098dcc232d8629fd7d25d8413
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
kubernetes/aai/components/aai-resources/templates/deployment.yaml

index d630647..1297809 100644 (file)
@@ -122,7 +122,7 @@ spec:
         - name: LOCAL_GROUP_ID
           value: {{ .Values.global.config.groupId | quote }}
         - name: POST_JAVA_OPTS
-          value: '-Djavax.net.ssl.trustStore=/opt/app/aai-resources/resources/aaf/truststoreONAPall.jks -Djavax.net.ssl.trustStorePassword={{ .Values.certInitializer.truststorePassword }}'
+          value: '-Djavax.net.ssl.trustStore={{ .Values.certInitializer.credsPath }}/truststoreONAPall.jks -Djavax.net.ssl.trustStorePassword={{ .Values.certInitializer.truststorePassword }}'
         - name: TRUSTORE_ALL_PASSWORD
           value: {{ .Values.certInitializer.truststorePassword }}
         volumeMounts: {{ include "common.certInitializer.volumeMount" . | nindent 8 }}