diff options
author | efiacor <fiachra.corcoran@est.tech> | 2022-07-12 13:19:53 +0100 |
---|---|---|
committer | Fiachra Corcoran <fiachra.corcoran@est.tech> | 2022-11-22 14:11:42 +0000 |
commit | 3422fe96531c951a3209ac3c2c6a3e8308559812 (patch) | |
tree | 9bbe9bafa53fa5e7928015f80a83091302ead06b /kubernetes/sdc/components/sdc-be/templates/deployment.yaml | |
parent | 3502e73a2762fc50f9ba3ae5d65a3efe5f05bead (diff) |
[SDC] Add strimzi kafka setup on sdc-be
Add SDC KafkaTopics and KafkaUser
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: I78542539567d2e3b67376b154ad069df3d1dad55
Issue-ID: DMAAP-1744
Diffstat (limited to 'kubernetes/sdc/components/sdc-be/templates/deployment.yaml')
-rw-r--r-- | kubernetes/sdc/components/sdc-be/templates/deployment.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kubernetes/sdc/components/sdc-be/templates/deployment.yaml b/kubernetes/sdc/components/sdc-be/templates/deployment.yaml index 24f169a5b9..16fc57aa92 100644 --- a/kubernetes/sdc/components/sdc-be/templates/deployment.yaml +++ b/kubernetes/sdc/components/sdc-be/templates/deployment.yaml @@ -31,8 +31,10 @@ spec: args: - --container-name - "sdc-onboarding-be" + {{- if not .Values.global.kafka.useKafka }} - --container-name - "message-router" + {{- end }} env: - name: NAMESPACE valueFrom: @@ -159,6 +161,12 @@ spec: valueFrom: fieldRef: fieldPath: status.podIP + {{- if .Values.global.kafka.useKafka }} + - name: SASL_JAAS_CONFIG + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "sdc-be-kafka-secret" "key" "sasl.jaas.config") | indent 12 }} + - name: USE_KAFKA + value: {{ .Values.global.kafka.useKafka | quote }} + {{- end }} volumeMounts: - name: sdc-environments mountPath: /app/jetty/chef-solo/environments/ |