Merge "[MULTICLOUD-SDC-DIST] Updgrade artifactbroker to use kafka native"
[oom.git] / kubernetes / multicloud / components / multicloud-k8s / templates / deployment.yaml
index c9912ff..45494e1 100644 (file)
@@ -86,6 +86,13 @@ spec:
           subPath: config.json
         - mountPath: /data
           name: artifact-data
           subPath: config.json
         - mountPath: /data
           name: artifact-data
+        env:
+        - name: SECURITY_PROTOCOL
+          value: {{ .Values.config.kafka.securityProtocol }}
+        - name: SASL_MECHANISM
+          value: {{ .Values.config.kafka.saslMechanism }}
+        - name: SASL_JAAS_CONFIG
+          {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "multicloud-k8s-sdc-kafka-secret" "key" "sasl.jaas.config") | indent 10 }}
       serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes:
       - name: localtime
       serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes:
       - name: localtime