diff options
author | efiacor <fiachra.corcoran@est.tech> | 2023-03-22 11:04:45 +0000 |
---|---|---|
committer | efiacor <fiachra.corcoran@est.tech> | 2023-04-01 11:42:10 +0100 |
commit | 1e6ad11acdc684bfba3ad2ba99a7a20a1b813fce (patch) | |
tree | 8f512d5a9fb6d4d889cfa7ab18f84c1ae14c02f4 /kubernetes/so/components/so-sdc-controller/templates/deployment.yaml | |
parent | 1d93334b79aee33512fdf1dd1e3f7b17974c6d20 (diff) |
[SO-SDC-DIST] Move to use strimzi kafka tpl
Use Strimzi common tpl for so-sdc-distribution
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: I744e5bb49b42e35a87eb8f29695b4102e3c1f507
Issue-ID: DMAAP-1876
Diffstat (limited to 'kubernetes/so/components/so-sdc-controller/templates/deployment.yaml')
-rwxr-xr-x | kubernetes/so/components/so-sdc-controller/templates/deployment.yaml | 9 |
1 files changed, 4 insertions, 5 deletions
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 |