diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2022-11-23 08:01:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-11-23 08:01:03 +0000 |
commit | b01e1aa32affe00feb12fc1d60682fc48edf7b06 (patch) | |
tree | 993dc3be09c2c4edab21f137629a74e79a1e7daa /kubernetes/sdc/components/sdc-be/templates/deployment.yaml | |
parent | 8bd5bf37ac531bcfb0b36597f269b59497373fca (diff) | |
parent | 3422fe96531c951a3209ac3c2c6a3e8308559812 (diff) |
Merge "[SDC] Add strimzi kafka setup on sdc-be"
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/ |