[POLICY] Correction on PAP MR connection port 94/131494/1
authorAndreas Geissler <andreas-geissler@telekom.de>
Mon, 17 Oct 2022 09:21:11 +0000 (11:21 +0200)
committerAndreas Geissler <andreas-geissler@telekom.de>
Mon, 17 Oct 2022 09:24:06 +0000 (11:24 +0200)
On non-TLS setup the MR port is 3904 instead of 3905,
which needs to be set in the papParameters file

Issue-ID: OOM-3003

Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: Ie5ee14209660f00e69b6e4b1df5a992731f500f6

kubernetes/policy/components/policy-pap/resources/config/papParameters.yaml

index 8fe4fac..b68e8d6 100644 (file)
@@ -124,7 +124,7 @@ pap:
     basePath: healthcheck
   - clientName: dmaap
     hostname: message-router
-    port: 3905
+    port: {{ (eq "true" (include "common.needTLS" .)) | ternary 3905 3904 }}
     useHttps: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }}
     basePath: topics