From 2886a111f3296d0c783193e6ba3f190fa2325225 Mon Sep 17 00:00:00 2001 From: "david.mcweeney" Date: Fri, 10 Feb 2023 12:35:20 +0000 Subject: [MULTICLOUD] Move multicloud k8s to use strimzi kafka user template Move multicloud k8s to use strimzi kafka user template Change-Id: Idc85dcfee7d6708cc9025244453a97caaf112fdc Signed-off-by: david.mcweeney Issue-ID: DMAAP-1856 --- .../components/multicloud-k8s/templates/deployment.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'kubernetes/multicloud/components/multicloud-k8s/templates/deployment.yaml') diff --git a/kubernetes/multicloud/components/multicloud-k8s/templates/deployment.yaml b/kubernetes/multicloud/components/multicloud-k8s/templates/deployment.yaml index 45494e1730..117f6faac7 100644 --- a/kubernetes/multicloud/components/multicloud-k8s/templates/deployment.yaml +++ b/kubernetes/multicloud/components/multicloud-k8s/templates/deployment.yaml @@ -87,12 +87,11 @@ spec: - 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 }} + valueFrom: + secretKeyRef: + name: {{ include "common.name" . }}-ku + key: sasl.jaas.config serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: - name: localtime -- cgit 1.2.3-korg