[A1POLICYMANAGEMENT] Make A1P ServiceMesh compatible
Update the application config to run in Istio SM by using HTTP
instead of HTTPS and disable AAF dependency
Issue-ID: OOM-3008
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: I3882912d98b05861114848902f35d254fa49c9d8
diff --git a/kubernetes/a1policymanagement/resources/config/application.yaml b/kubernetes/a1policymanagement/resources/config/application.yaml
index 37754ca..05fddb2 100644
--- a/kubernetes/a1policymanagement/resources/config/application.yaml
+++ b/kubernetes/a1policymanagement/resources/config/application.yaml
@@ -52,6 +52,7 @@
port: 8433
http-port: 8081
ssl:
+ enabled: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }}
key-store-type: PKCS12
key-store-password: ${KEYSTORE_PASSWORD}
key-store: {{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12