[AAI] Service Mesh related 62/126062/1
authorothman touijer <othman.touijer@soprasteria.com>
Fri, 3 Dec 2021 08:45:37 +0000 (09:45 +0100)
committerothman touijer <othman.touijer@soprasteria.com>
Fri, 3 Dec 2021 08:45:37 +0000 (09:45 +0100)
Define required env variable for babel keystore, even when AAF is not
enabled. Component will not start otherwise.

Issue-ID: OOM-2887
Signed-off-by: othman touijer <othman.touijer@soprasteria.com>
Change-Id: I1bf155683ef04c211f75cb82dd4779f8b6375aac

kubernetes/aai/components/aai-babel/templates/deployment.yaml

index bd6b8c7..38a4e48 100644 (file)
@@ -70,6 +70,10 @@ spec:
             initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
             periodSeconds: {{ .Values.readiness.periodSeconds }}
           env:
+            {{- if not (include "common.needTLS" .) }}
+            - name: KEY_STORE_PASSWORD
+              value: NotUsed
+            {{- end }}
             - name: CONFIG_HOME
               value: /opt/app/babel/config
           volumeMounts:  {{ include "common.certInitializer.volumeMount" . | nindent 10 }}