From 1e6ad11acdc684bfba3ad2ba99a7a20a1b813fce Mon Sep 17 00:00:00 2001 From: efiacor Date: Wed, 22 Mar 2023 11:04:45 +0000 Subject: [SO-SDC-DIST] Move to use strimzi kafka tpl Use Strimzi common tpl for so-sdc-distribution Signed-off-by: efiacor Change-Id: I744e5bb49b42e35a87eb8f29695b4102e3c1f507 Issue-ID: DMAAP-1876 --- .../so/components/so-sdc-controller/templates/deployment.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'kubernetes/so/components/so-sdc-controller/templates/deployment.yaml') diff --git a/kubernetes/so/components/so-sdc-controller/templates/deployment.yaml b/kubernetes/so/components/so-sdc-controller/templates/deployment.yaml index 4becf41897..12de6bd382 100755 --- a/kubernetes/so/components/so-sdc-controller/templates/deployment.yaml +++ b/kubernetes/so/components/so-sdc-controller/templates/deployment.yaml @@ -47,12 +47,11 @@ spec: {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "db-admin-creds" "key" "login") | indent 10 }} - name: DB_ADMIN_PASSWORD {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "db-admin-creds" "key" "password") | indent 10 }} - - 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" "so-sdc-kafka-secret" "key" "sasl.jaas.config") | indent 10 }} + valueFrom: + secretKeyRef: + name: {{ include "common.name" . }}-ku + key: sasl.jaas.config envFrom: - configMapRef: name: {{ include "common.fullname" . }}-configmap -- cgit 1.2.3-korg