-
Notifications
You must be signed in to change notification settings - Fork 204
Open
Labels
Description
Proposal
Description:
Currently, if a user specifies spec.proxysql.configuration, they must provide a complete proxysql.cnf. The entrypoint's password injection via sed doesn't work because the ConfigMap mount is read-only.
Expected behavior:
- User provides partial config (e.g., just mysql_variables.auto_increment_delay_multiplex=0)
- Operator merges it with default config
- Passwords are still injected at runtime
Current behavior:
- User must provide complete config
- Password injection fails (read-only mount)
Thanks!
Use-Case
User does:
- Partial config merged with defaults, passwords injected at runtime
proxysql:
configuration: |
mysql_variables=
{
auto_increment_delay_multiplex=0
}
- Provide full config without hardcoded passwords:
proxysql:
configuration: |
datadir="/var/lib/proxysql"
admin_variables = { ... }
mysql_variables = { auto_increment_delay_multiplex=0 ... }
Is this a feature you are interested in implementing yourself?
No
Anything else?
No response