mirror of
https://github.com/bitnami/charts.git
synced 2026-03-29 16:27:11 +08:00
[bitnami/kafka] bugfix: upgrade issue due to secret lookup (#32621)
This commit is contained in:
committed by
GitHub
parent
66ba328a95
commit
31af2bd4dd
@@ -68,7 +68,8 @@ type: Opaque
|
||||
data:
|
||||
cluster-id: {{ include "common.secrets.passwords.manage" (dict "secret" (printf "%s-kraft" (include "common.names.fullname" .)) "key" "cluster-id" "providedValues" (list "clusterId") "length" 22 "context" $) }}
|
||||
{{- range $i := until (int .Values.controller.replicaCount) }}
|
||||
controller-{{ $i }}-id: {{ include "common.secrets.passwords.manage" (dict "secret" (printf "%s-kraft" (include "common.names.fullname" $)) "key" "controller-{{ $i }}-id" "providedValues" (list "") "length" 22 "context" $) }}
|
||||
{{- $key := printf "controller-%d-id" $i }}
|
||||
{{ $key }}: {{ include "common.secrets.passwords.manage" (dict "secret" (printf "%s-kraft" (include "common.names.fullname" $)) "key" $key "providedValues" (list "") "length" 22 "context" $) }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.serviceBindings.enabled }}
|
||||
|
||||
Reference in New Issue
Block a user