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

Hash suffix to usernames #153

Open
gcaracuel opened this issue Mar 14, 2024 · 1 comment
Open

Hash suffix to usernames #153

gcaracuel opened this issue Mar 14, 2024 · 1 comment

Comments

@gcaracuel
Copy link

Is there any chance to disable the hash (it is actually nos a hash but a 6 chars random string) after username?

I understand the good of this but allowing in the CRD to configure that suffix length and been 0 a possible value may allow disable this.

Use case example:
I am creating some PostgresUser to be used by a Helm Chart which does not support any kind of secret inyection to env nor conectionString usage but plain POSTGRES_USERNAME env is set from plain value. Usually every single Helm Chart out there support password load from a secret but not all them support the same for username. A total predictable role name will fix this.

I am happy to work on this a push a PR but want to check with users and devs of the project if this makes any sense.

@prskr
Copy link

prskr commented Jul 3, 2024

I've a similar requirement.

I'm building a chart the creates a DB, some users and while I already hacked some templating into it, I think there's no additional value to add this random suffix to the role names...

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 a pull request may close this issue.

2 participants