Skip to content

Feat/dedicated repl user - #33

Merged
melancholictheory merged 1 commit into
mainfrom
feat/dedicated-repl-user
Aug 3, 2026
Merged

Feat/dedicated repl user#33
melancholictheory merged 1 commit into
mainfrom
feat/dedicated-repl-user

Conversation

@melancholictheory

Copy link
Copy Markdown
Owner

What does this PR do?

Related issues

Type of change

  • Bug fix
  • New feature
  • Breaking change (API/CRD, behavior, or RBAC)
  • Documentation
  • CI / build / tooling

Checklist

  • make manifests generate run and generated files committed (if API/RBAC/webhook changed)
  • make lint passes
  • make test passes
  • Tests added/updated for the change
  • Docs updated (docs/, README.md, or CRD reference) if behavior changed
  • Data-correctness paths (failover, bootstrap, scale, reshard, restore) considered

Notes for reviewers

…hurn

ensureConfigMap did an unconditional r.Update on every reconcile, bumping the ConfigMap's resourceVersion and emitting an audit event each pass even when nothing changed — the same fleet-scale churn class already fixed for Service/NetworkPolicy/StatefulSet/CronJob.

Gate the Update behind an exact DeepEqual of Data plus a labels-contained check. Data is fully operator-specified with no API-server-defaulted keys, so an exact compare is correct (no shrinkable list, unlike the STS/CronJob pod templates). The config hash driving the pod rollout annotation is still returned on both paths, unchanged.

Add TestEnsureConfigMapSkipsNoOpAndUpdatesOnChange mirroring the sibling churn tests: a no-op reconcile keeps resourceVersion and hash stable; a rotated password re-renders valkey.conf and still writes.
@melancholictheory
melancholictheory force-pushed the feat/dedicated-repl-user branch from 4cefa45 to 8abb3c3 Compare August 3, 2026 20:25
@melancholictheory
melancholictheory merged commit 7730830 into main Aug 3, 2026
5 checks passed
@melancholictheory
melancholictheory deleted the feat/dedicated-repl-user branch August 3, 2026 20:32
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 this pull request may close these issues.

1 participant