summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-clamp-ac-http-ppnt/resources
diff options
context:
space:
mode:
authorFiachra Corcoran <fiachra.corcoran@est.tech>2022-08-03 10:58:21 +0000
committerGerrit Code Review <gerrit@onap.org>2022-08-03 10:58:21 +0000
commit51cb65c4e56a2ba8e6fe2b6516a8cb8e421e2493 (patch)
tree2574d65c48084c0ba9e082f96768ed32f60f4c97 /kubernetes/policy/components/policy-clamp-ac-http-ppnt/resources
parent06610f746e30ac74b976680bc2967a6c131488cb (diff)
parent73c5f00c93faa9238e8721fa4345c35ae256ccb1 (diff)
Merge "[POLICY] Add strimzi kafka config from helm charts"
Diffstat (limited to 'kubernetes/policy/components/policy-clamp-ac-http-ppnt/resources')
-rw-r--r--kubernetes/policy/components/policy-clamp-ac-http-ppnt/resources/config/HttpParticipantParameters.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/kubernetes/policy/components/policy-clamp-ac-http-ppnt/resources/config/HttpParticipantParameters.yaml b/kubernetes/policy/components/policy-clamp-ac-http-ppnt/resources/config/HttpParticipantParameters.yaml
index 249aaaebda..406b59c545 100644
--- a/kubernetes/policy/components/policy-clamp-ac-http-ppnt/resources/config/HttpParticipantParameters.yaml
+++ b/kubernetes/policy/components/policy-clamp-ac-http-ppnt/resources/config/HttpParticipantParameters.yaml
@@ -21,6 +21,20 @@ spring:
user:
name: ${RESTSERVER_USER}
password: ${RESTSERVER_PASSWORD}
+{{- if .Values.config.useStrimziKafka }}
+ kafka:
+ bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
+ security.protocol: SASL_PLAINTEXT
+ properties.sasl:
+ mechanism: SCRAM-SHA-512
+ jaas.config: ${JAASLOGIN}
+{{ else }}
+{{ toYaml .Values.config.eventPublisher | nindent 2 }}
+{{- end }}
+
+{{- if .Values.config.additional }}
+{{ toYaml .Values.config.additional | nindent 2 }}
+{{- end }}
security:
enable-csrf: false