Improve CSIT helm charts 75/137075/1
authoraravind.est <aravindhan.a@est.tech>
Wed, 24 Jan 2024 09:39:21 +0000 (09:39 +0000)
committeraravind.est <aravindhan.a@est.tech>
Wed, 24 Jan 2024 09:39:21 +0000 (09:39 +0000)
Kafka adverstised listener URL changed to FQDN. It does have an impact when kafka is accessed outside the namespace.
Added quotes around kafka bootstrap to pass yaml linter.

Issue-ID: POLICY-4402
Signed-off-by: aravind.est <aravindhan.a@est.tech>
Change-Id: I898d5be3affed3a0f81589f03695ed8dbfd3d577

helm/cp-kafka/kafka.yaml
helm/policy/components/policy-clamp-ac-a1pms-ppnt/resources/config/A1pmsParticipantParameters.yaml
helm/policy/components/policy-clamp-ac-http-ppnt/resources/config/HttpParticipantParameters.yaml
helm/policy/components/policy-clamp-ac-k8s-ppnt/resources/config/KubernetesParticipantParameters.yaml
helm/policy/components/policy-clamp-ac-kserve-ppnt/resources/config/KserveParticipantParameters.yaml
helm/policy/components/policy-clamp-ac-pf-ppnt/resources/config/PolicyParticipantParameters.yaml
helm/policy/components/policy-pap/resources/config/papParameters.yaml

index cc4677d..db0ae74 100644 (file)
@@ -42,7 +42,7 @@ spec:
         - name: KAFKA_LISTENER_SECURITY_PROTOCOL_MAP
           value: PLAINTEXT:PLAINTEXT,PLAINTEXT_INTERNAL:PLAINTEXT
         - name: KAFKA_ADVERTISED_LISTENERS
-          value: PLAINTEXT://:29092,PLAINTEXT_INTERNAL://kafka:9092
+          value: PLAINTEXT://:29092,PLAINTEXT_INTERNAL://kafka.default.svc.cluster.local:9092
         - name: KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR
           value: "1"
         - name: KAFKA_TRANSACTION_STATE_LOG_MIN_ISR
index 17a8118..77082fd 100755 (executable)
@@ -47,13 +47,13 @@ participant:
       topicSources:
         - topic: policy-acruntime-participant
           servers:
-            - {{ .Values.global.kafkaServer }}:9092
+            - "{{ .Values.global.kafkaServer }}:9092"
           topicCommInfrastructure: kafka
           fetchTimeout: 15000
       topicSinks:
         - topic: policy-acruntime-participant
           servers:
-            - {{ .Values.global.kafkaServer }}:9092
+            - "{{ .Values.global.kafkaServer }}:9092"
           topicCommInfrastructure: kafka
     participantSupportedElementTypes:
       -
index a0cf283..c3c4f98 100644 (file)
@@ -39,14 +39,14 @@ participant:
       topicSources:
         - topic: policy-acruntime-participant
           servers:
-            - {{ .Values.global.kafkaServer }}:9092
+            - "{{ .Values.global.kafkaServer }}:9092"
           topicCommInfrastructure: kafka
           fetchTimeout: 15000
           useHttps: false
       topicSinks:
         - topic: policy-acruntime-participant
           servers:
-            - {{ .Values.global.kafkaServer }}:9092
+            - "{{ .Values.global.kafkaServer }}:9092"
           topicCommInfrastructure: kafka
           useHttps: false
     participantSupportedElementTypes:
index b8e210a..070ec50 100644 (file)
@@ -42,7 +42,7 @@ participant:
         -
           topic: policy-acruntime-participant
           servers:
-            - {{ .Values.global.kafkaServer }}:9092
+            - "{{ .Values.global.kafkaServer }}:9092"
           topicCommInfrastructure: kafka
           fetchTimeout: 15000
           useHttps: false
@@ -50,7 +50,7 @@ participant:
         -
           topic: policy-acruntime-participant
           servers:
-            - {{ .Values.global.kafkaServer }}:9092
+            - "{{ .Values.global.kafkaServer }}:9092"
           topicCommInfrastructure: kafka
           useHttps: false
     participantSupportedElementTypes:
index 51eab74..249212b 100755 (executable)
@@ -46,13 +46,13 @@ participant:
       topicSources:
         - topic: policy-acruntime-participant
           servers:
-            - {{ .Values.global.kafkaServer }}:9092
+            - "{{ .Values.global.kafkaServer }}:9092"
           topicCommInfrastructure: kafka
           fetchTimeout: 15000
       topicSinks:
         - topic: policy-acruntime-participant
           servers:
-            - {{ .Values.global.kafkaServer }}:9092
+            - "{{ .Values.global.kafkaServer }}:9092"
           topicCommInfrastructure: kafka
     participantSupportedElementTypes:
       -
index 7d5b50d..4c29b54 100644 (file)
@@ -58,7 +58,7 @@ participant:
         -
           topic: policy-acruntime-participant
           servers:
-            - {{ .Values.global.kafkaServer }}:9092
+            - "{{ .Values.global.kafkaServer }}:9092"
           topicCommInfrastructure: kafka
           fetchTimeout: 15000
           useHttps: false
@@ -66,7 +66,7 @@ participant:
         -
           topic: policy-acruntime-participant
           servers:
-            - {{ .Values.global.kafkaServer }}:9092
+            - "{{ .Values.global.kafkaServer }}:9092"
           topicCommInfrastructure: kafka
           useHttps: false
     participantSupportedElementTypes:
index 83743e6..646b5ea 100644 (file)
@@ -68,7 +68,7 @@ pap:
     topicSources:
     - topic: ${pap.topic.pdp-pap.name}
       servers:
-      - {{ .Values.global.kafkaServer }}:9092
+      - "{{ .Values.global.kafkaServer }}:9092"
       topicCommInfrastructure: kafka
       useHttps: false
       fetchTimeout: 15000
@@ -76,19 +76,19 @@ pap:
       effectiveTopic: ${pap.topic.pdp-pap.name}
       consumerGroup: policy-pap
       servers:
-      - {{ .Values.global.kafkaServer }}:9092
+      - "{{ .Values.global.kafkaServer }}:9092"
       topicCommInfrastructure: kafka
       useHttps: false
       fetchTimeout: 15000
     topicSinks:
     - topic: ${pap.topic.pdp-pap.name}
       servers:
-      - {{ .Values.global.kafkaServer }}:9092
+      - "{{ .Values.global.kafkaServer }}:9092"
       topicCommInfrastructure: kafka
       useHttps: false
     - topic: ${pap.topic.notification.name}
       servers:
-      - {{ .Values.global.kafkaServer }}:9092
+      - "{{ .Values.global.kafkaServer }}:9092"
       topicCommInfrastructure: kafka
       useHttps: false
   healthCheckRestClientParameters: