Skip to content

Update users.md #176

New issue

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update users.md #176

wants to merge 1 commit into from

Conversation

laudares
Copy link

The MySQL root password is no longer available as an environment variable inside the container. I provide a two-step approach that consists in grabbing the password from the secrets file first and storing it in a local env; maybe we want to provide a more detailed explanation instead.

The MySQL root password is no longer available as an environment variable inside the container. I provide a two-step approach that consists in grabbing the password from the secrets file first and storing it in a local env; maybe we want to provide a more detailed explanation instead.
@fiowro
Copy link
Contributor

fiowro commented Mar 27, 2025

Our official method of getting root password is little bit different, it doesn't involve other programs like awk. It is described in connect.md and looks as follows:

kubectl get secret <secret-name> -n <namespace> --template='{{"{{"}}.data.root | base64decode{{"}}"}}{{"{{"}}"\n"{{"}}"}}'

Also, I'd recommend leaving this command untouched (involving environment variable to pass the password may be rather common, but definitely not required). Instead, I propose adding a note on how to acquire root password with our official way of doing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants