-
Notifications
You must be signed in to change notification settings - Fork 193
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
fix #1961, first char of a proxyadmin user password must not be a * #1962
Conversation
…e a * character
i think we should also take some precaution to prevent having |
@gkech please create a ticket for this, we shouldn't forget to do it after merging this PR. |
https://perconadev.atlassian.net/browse/K8SPXC-1568 here we are 👍🏽 |
commit: 65d44b7 |
thanks a lot @fideloper |
thank you all as well! |
CHANGE DESCRIPTION
Problem:
proxysqladmin generated password might start with a
*
character, which proxysql does not like. It assumes it's a hashed password if it begins with a*
.See #1961
Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Short explanation of the solution we are providing with this PR.
Since it's using the operator/controller paradigm, we simply return an error (following the same convention as already set) if the
proxyadmin
password starts with a*
character. Presumably this will fail a reconciliation, causing it to try again until the password does NOT start with a*
character.CHECKLIST
Jira
Needs Doc
) and QA (Needs QA
)?Tests
compare/*-oc.yml
)?Config/Logging/Testability