Skip to content
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

POSTGRESQL_POSTGRES_PASSWORD is misleading in dodumentation #75573

Open
llech opened this issue Dec 9, 2024 · 1 comment
Open

POSTGRESQL_POSTGRES_PASSWORD is misleading in dodumentation #75573

llech opened this issue Dec 9, 2024 · 1 comment
Assignees
Labels
postgresql tech-issues The user has a technical issue about an application triage Triage is needed

Comments

@llech
Copy link

llech commented Dec 9, 2024

Name and Version

bitnami/postgres

What architecture are you using?

None

What steps will reproduce the bug?

Reading and following the documentation:

POSTGRESQL_POSTGRES_PASSWORD  |  Password for the PostgreSQL postgres user

I set that environment variable and used it in my init scripts, however, I failed to log in as postgres user.

After a lot of tries and errors, I've grabbed through your script to find out, that it's not the variable that is actually taken for postgres password. The variable POSTGRESQL_PASSWORD is taken, unless POSTGRESQL_USERNAME happens to be set to a value other than default.

What is the expected behavior?

The documentation should point out, that POSTGRESQL_POSTGRES_PASSWORD is used to initialize postgres password under only special circumstances (point them: POSTGRESQL_USERNAME is set to a other value than "postgres")

What do you see instead?

The documentation is misleading, it suggests, that POSTGRESQL_POSTGRES_PASSWORD is always taken.

@llech llech added the tech-issues The user has a technical issue about an application label Dec 9, 2024
@github-actions github-actions bot added the triage Triage is needed label Dec 9, 2024
@carrodher
Copy link
Member

Thank you for bringing this issue to our attention. We appreciate your involvement! If you're interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.

Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
postgresql tech-issues The user has a technical issue about an application triage Triage is needed
Projects
None yet
Development

No branches or pull requests

2 participants