diff options
author | 2022-07-25 17:04:45 +0100 | |
---|---|---|
committer | 2022-07-25 18:09:31 +0100 | |
commit | 73c5f00c93faa9238e8721fa4345c35ae256ccb1 (patch) | |
tree | 218a57933a2c78e5f8b1baff8381523cc3eea9f6 /kubernetes/policy/components/policy-pap/templates/deployment.yaml | |
parent | cce2287bfff11ada8507f28509e45656e2ab1094 (diff) |
[POLICY] Add strimzi kafka config from helm charts
Add strimzi kafka user and topics for policy components in
relevant helm charts.
Issue-ID: POLICY-4133
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: If0e1107c03acdfed83bfc359a45ad546d134bd30
Diffstat (limited to 'kubernetes/policy/components/policy-pap/templates/deployment.yaml')
-rwxr-xr-x | kubernetes/policy/components/policy-pap/templates/deployment.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/policy/components/policy-pap/templates/deployment.yaml b/kubernetes/policy/components/policy-pap/templates/deployment.yaml index c33b80f4af..6f02f8e4c0 100755 --- a/kubernetes/policy/components/policy-pap/templates/deployment.yaml +++ b/kubernetes/policy/components/policy-pap/templates/deployment.yaml @@ -65,6 +65,10 @@ spec: {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "distribution-secret" "key" "login") | indent 10 }} - name: DISTRIBUTION_PASSWORD {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "distribution-secret" "key" "password") | indent 10 }} +{{- if .Values.config.useStrimziKafka }} + - name: JAASLOGIN + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "policy-kafka-user" "key" "sasl.jaas.config") | indent 10 }} +{{- end }} volumeMounts: - mountPath: /config-input name: papconfig |