how to use secrets for the akhq connections #1423
Replies: 6 comments
-
Maybe you can share something like file configuration inside the pod? We can't help you with a simple it's not working 😜 |
Beta Was this translation helpful? Give feedback.
-
We have configured the connections under secrets in values.yaml file and we are passing variables for boottrap string and kafkausername and password.While running the helm we are passing the values for the variables like helm install akhq akhq -f values.yaml --set username="Xxxx" but application says no authorisation for kafka in ui after deployed. |
Beta Was this translation helpful? Give feedback.
-
Please gimme suggestion what is the best way to configure connections in a secrets. |
Beta Was this translation helpful? Give feedback.
-
Any advice on this? How can I set a secret using an env variable? In my case I want to set the value for |
Beta Was this translation helpful? Give feedback.
-
I would love to see some documentation and understanding of how this is supposed to work. For example I've put my entire connection string in the connection field of the values.yaml and validated that the connection worked. Then uninstalled the chart and created a secret called akhq-secret in my cluster and specified that secret name in the existingSecret field and created a the secret --from-file=application-secrets.yml=myyaml.yaml and had the application just blow up. Since there's next to no documentation on how this is supposed to work, I've pulled the chart and looked at the secret.yaml template and the deployment.yaml template and this is the best assumption I can come up with. How exactly do these pieces of the chart work? existingSecret, secret, kafkaSecret an actual example would help and what's the value of secrets in the chart if the values. myyaml.yaml
error from pod:
|
Beta Was this translation helpful? Give feedback.
-
Ok so I did figure out a solution with the helm chart and secrets using the extraEnv array to mount existing password secrets and expose them to the configuration.
|
Beta Was this translation helpful? Give feedback.
-
I have created secret for kafka username password and i substited while installing helm but it is not working.Can you suggest some thing.
Beta Was this translation helpful? Give feedback.
All reactions