• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

chideat / valkey-operator
22%
main: 22%

Build:
Build:
LAST BUILD BRANCH: valkey-version-support
DEFAULT BRANCH: main
Repo Added 05 Feb 2025 06:56AM UTC
Files 146
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH test-fix
branch: test-fix
CHANGE BRANCH
x
Reset
  • test-fix
  • chore/deps-combined-2026-03-16
  • chore/resolve-deps-prs
  • dependabot/github_actions/actions/setup-go-5
  • dependabot/go_modules/github.com/alicebob/miniredis/v2-2.35.0
  • dependabot/go_modules/github.com/fsnotify/fsnotify-1.8.0
  • dependabot/go_modules/github.com/fsnotify/fsnotify-1.9.0
  • dependabot/go_modules/github.com/samber/lo-1.49.1
  • dependabot/go_modules/github.com/stretchr/testify-1.10.0
  • dependabot/go_modules/gotest.tools/v3-3.5.2
  • dev
  • docs-optimize
  • feat/1.1.0
  • fix-kustomize-deployment
  • fix/cross-version-rolling-upgrade-data-loss
  • main
  • release-1.0
  • renovate/alpine-3.x
  • renovate/configure
  • renovate/patch-kubernetes
  • renovate/patch-patch-upgrades
  • update-docs
  • update-valkey-examples
  • valkey-version-support

16 Mar 2026 02:36PM UTC coverage: 22.394% (+0.004%) from 22.39%
23149214656

Pull #77

github

chideat
fix: correct RDS Valkey webhook registration and failover defaults

Two bugs in the RDS Valkey admission webhook:

1. Webhook annotations referenced the wrong API group (rds.inst.buf.red
   instead of rds.valkey.buf.red), causing both the mutating and validating
   webhooks to never fire for Valkey CR operations. This meant the sentinel
   access serviceType was never propagated from spec.access.serviceType to
   spec.sentinel.access.serviceType, resulting in sentinel services always
   being ClusterIP even when NodePort was requested.

2. For ValkeyFailover arch, spec.replicas.shards was only defaulted to 1
   when spec.replicas was nil. If the user provided a Replicas object with
   only ReplicasOfShard set, Shards defaulted to 0 and the validating webhook
   would reject the CR. Fixed by always enforcing Shards=1 for failover,
   matching the existing ValkeyReplica behavior.
Pull Request #77: fix: correct RDS Valkey webhook registration and failover defaults

1 of 1 new or added line in 1 file covered. (100.0%)

4616 of 20613 relevant lines covered (22.39%)

0.26 hits per line

Relevant lines Covered
Build:
Build:
20613 RELEVANT LINES 4616 COVERED LINES
0.26 HITS PER LINE
Source Files on test-fix
  • Tree
  • List 146
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
23149214656 test-fix fix: correct RDS Valkey webhook registration and failover defaults Two bugs in the RDS Valkey admission webhook: 1. Webhook annotations referenced the wrong API group (rds.inst.buf.red instead of rds.valkey.buf.red), causing both the mutating... Pull #77 16 Mar 2026 02:40PM UTC chideat github
22.39
See All Builds (87)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc