We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bitnami/etcd 9.14.2
amd64
$ helm install etcd oci://registry-1.docker.io/bitnamicharts/etcd --version 9.14.2 --set auth.rbac.rootPassword=fakepassword
etcd-0
$ kubectl logs etcd-0 | grep fakepassword
Only parameter is auth.rbac.rootPassword is set.
auth.rbac.rootPassword
This also happens when setting the root password through auth.rbac.existingSecret
auth.rbac.existingSecret
Pod log do not contain the root password
The log contain the root password
This issue was already fixed in 2020 #1909 but seems to have been reintroduced since.
The fix probably involves adding the command unset ETCD_ROOT_PASSWORD before the startup of the etcd process. This script is in https://github.com/bitnami/containers/blob/main/bitnami/etcd/3.5/debian-12/rootfs/opt/bitnami/scripts/etcd/run.sh , I can file a bug in this repo instead if its easier.
unset ETCD_ROOT_PASSWORD
etcd
The text was updated successfully, but these errors were encountered:
Hi!
Thank you so much for reporting. Would you like to submit a PR unsetting the password value before launching etcd?
Sorry, something went wrong.
I created this PR to fix the issue
Thank you so much for the PR! The team will take a look
Closing since it was fixed and a new version of the chart is released
javsalgar
No branches or pull requests
Name and Version
bitnami/etcd 9.14.2
What architecture are you using?
amd64
What steps will reproduce the bug?
$ helm install etcd oci://registry-1.docker.io/bitnamicharts/etcd --version 9.14.2 --set auth.rbac.rootPassword=fakepassword
etcd-0
to be created$ kubectl logs etcd-0 | grep fakepassword
Are you using any custom parameters or values?
Only parameter is
auth.rbac.rootPassword
is set.This also happens when setting the root password through
auth.rbac.existingSecret
What is the expected behavior?
Pod log do not contain the root password
What do you see instead?
The log contain the root password
Additional information
This issue was already fixed in 2020 #1909 but seems to have been reintroduced since.
The fix probably involves adding the command
unset ETCD_ROOT_PASSWORD
before the startup of theetcd
process.This script is in https://github.com/bitnami/containers/blob/main/bitnami/etcd/3.5/debian-12/rootfs/opt/bitnami/scripts/etcd/run.sh , I can file a bug in this repo instead if its easier.
The text was updated successfully, but these errors were encountered: