Closed 35596035 closed 6 days ago
before installation I use helm repo add bitnami https://charts.bitnami.com/bitnami
Hi! Could you share the values.yaml you used?
Huh, this is probably introduced by me, see https://github.com/bitnami/charts/pull/28581, but I can't reproduce this
With the following secret.yaml
;
apiVersion: v1
kind: Secret
metadata:
name: mysecret
data:
kraft-cluster-id: {{ include "common.secrets.passwords.manage" (dict "secret" "mysecret" "key" "kraft-cluster-id" "providedValues" (list) "length" 22 "context" $) }}
and symlinking the bitnami common chart, this just works
EDIT:
When I add a {{ fail "test" }}
on line 118 this fails, so the line 117 is definitely run.
你好!您能分享一下您使用的values.yaml嗎?
Hi @35596035,
I can see that the values.txt file you shared is very different than the default one in the repo. Did you try launching the Chart using the default configuration and confirm it works in your environment?
Please note that we test our solutions in many different environments before making it public and I can confirm that it passed all our tests so you shouldn't run into issues when deploying the Bitnami Kafka Chart.
Thanks
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.
Name and Version
bitnami/kafka 30.0.2
What architecture are you using?
None
What steps will reproduce the bug?
I use
helm install kafka-cluster bitnami/kafka -f mykafka-master-values.yaml -n kafka
for k8s error msg:Error: INSTALLATION FAILED: template: kafka/templates/controller-eligible/statefulset.yaml:44:38: executing "kafka/templates/controller-eligible/statefulset.yaml" at <include (print $.Template.BasePath "/secrets.yaml") .>: error calling include: template: kafka/templates/secrets.yaml:131:23: executing "kafka/templates/secrets.yaml" at <include "common.secrets.passwords.manage" (dict "secret" (printf "%s-kraft-cluster-id" (include "common.names.fullname" .)) "key" "kraft-cluster-id" "providedValues" (list "kraft.clusterId") "length" 22 "context" $)>: error calling include: template: kafka/charts/common/templates/_secrets.tpl:117:16: executing "common.secrets.passwords.manage" at <eq .failOnNew false>: error calling eq: incompatible types for comparison