Repository navigation
Commit cc59638
committed
fix(postgres,mariadb): apply rotations promptly, document restore-copy creds
mariadb-operator re-applies a password from passwordSecretKeyRef only
when the referenced Secret carries the k8s.mariadb.com/watch label;
without it a passwordRotation bump lands on the operator's --requeue-sql
tick (10h plus up to 1h of jitter) instead of promptly, which is
backwards for rotating after a leak. Label the credentials Secret so the
operator reacts to the change immediately.
Document that a Postgres restore into a copy advertises freshly generated
application-user passwords in the target credentials Secret that do not
match the roles recovered from the backup until the target leaves
bootstrap, so the mismatch is a known, converging state rather than a
silent failure.
Clarify that any change to passwordRotation, not only an increment,
triggers a rotation; pin the mariadb-operator root-at-bootstrap rationale
to the vendored version; and look the mariadb example password up with a
bracketed jsonpath so a username containing a dot still resolves.
Assisted-by: LLM
Signed-off-by: Alexey Artamonov <[email protected]>1 parent 9191068 commit cc59638
14 files changed
Lines changed: 47 additions & 28 deletions
File tree
- api/apps/v1alpha1
- mariadb
- postgresql
- docs/operations
- examples/backups/mariadb
- packages
- apps
- mariadb
- templates
- tests
- postgres
- system
- mariadb-rd/cozyrds
- postgres-rd/cozyrds
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
0 commit comments