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

chideat / valkey-operator / 43987910694
36%

Build:
DEFAULT BRANCH: main
Ran 17 Nov 2026 12:32AM UTC
Jobs 1
Files 151
Run time 1min
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

17 Nov 2026 12:28AM UTC coverage: 36.195% (+0.8%) from 35.441%
43987910694

push

github

web-flow
feat: generate passwords for the default user and sentinel of new instances (#157)

A Valkey created without users left the default user as `nopass +@all`,
so anyone who could reach the instance had full access, while the
operator account it creates for itself had a generated password.

For a new instance, the account actors now generate a 32-character
password for the default user, store it in
`<arch>-acl-<name>-default-secret`, and create the User
`<arch>-acl-<name>-default` with `+@all -acl ~* &*`. They do this before
the operator account, because the branch runs only while no account
exists. The User controller applies it once the instance is ready. From
then on the password lives in that User alone, and instances that
already have accounts are left as they are.

On create, the Valkey mutating webhook fills an empty
`spec.sentinel.access.defaultPasswordSecret` of a failover instance
with `sentinel-acl-<name>-default-secret`. The Valkey controller
generates that Secret before it creates the Failover, and the
validating webhook accepts the reserved name while the Failover does
not exist yet.

Fixes #104

105 of 149 new or added lines in 7 files covered. (70.47%)

7986 of 22064 relevant lines covered (36.19%)

0.41 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
82.01
-10.8% pkg/types/acl.go
7
35.4
20.26% internal/controller/rds/valkey_controller.go
4
63.33
7.95% pkg/security/acl/acl.go
3
96.94
-3.06% internal/builder/aclbuilder/acl.go
3
75.73
72.2% internal/ops/cluster/actor/actor_update_account.go
3
78.85
19.08% internal/ops/failover/actor/actor_update_account.go
2
95.83
-0.39% internal/webhook/rds/v1alpha1/valkey_webhook.go
Jobs
ID Job ID Ran Files Coverage
1 43987910694.1 17 Nov 2026 12:32AM UTC 151
36.19
GitHub Action Run
Source Files on build 43987910694
  • Tree
  • List 151
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d91bed9a on github
  • Prev Build on main (#36498786254)
  • Next Build on main (#44011103499)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc