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

SchSeba / sriov-network-operator-1 / 28423120134
64%
master: 64%

Build:
Build:
LAST BUILD BRANCH: conditions/operator-config-v2
DEFAULT BRANCH: master
Ran 30 Jun 2026 05:57AM UTC
Jobs 1
Files 110
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

30 Jun 2026 05:44AM UTC coverage: 63.826% (+0.02%) from 63.806%
28423120134

push

github

SchSeba
Add TLS group/curve preferences support from OpenShift API TLSProfileSpec

Bump openshift/api to release-5.0 which adds the Groups field to
TLSProfileSpec (openshift/api#2583). This allows configuring TLS
supported groups (formerly elliptic curves) for the TLS handshake,
including post-quantum hybrid groups like X25519MLKEM768.

Changes:
- Add CurvePreferences field to consts.TLSConfig and wire it through
  the full TLS configuration pipeline (orchestrator, controller,
  templates, webhook)
- Extract Groups from the OpenShift APIServer TLS profile and propagate
  to operand DaemonSets via --tls-curve-preferences flag
- Operator converts group names to numeric CurveID values before
  passing to the webhook, matching the Kubernetes apiserver pattern
  (fs.Int32SliceVar for --tls-curve-preferences)
- Webhook accepts numeric Go crypto/tls CurveID values directly
  (e.g. 29,23,24) without hardcoded validation; supported values
  depend on the Go version used
- Add TLS_CURVE_PREFERENCES env var for vanilla Kubernetes (Helm values
  and deploy manifest)
- Add CurveNamesToIDs() to convert group names to numeric IDs in the
  operator controller before rendering webhook manifests
- Add ParseCurvePreferencesFromIDs() for the webhook to parse numeric
  CurveID values into []tls.CurveID
- Add TODO for kube-rbac-proxy curve preferences support (blocked on
  kube-rbac-proxy/kube-rbac-proxy#414)
- Update test CRD to CustomNoUpgrade variant with groups field
- Refactor conformance tests: extract operandTLSTarget list and
  assertAllOperandsHaveTLSArgs helper to reduce duplication
- Add unit tests for curve preferences in utils, orchestrator, and
  controller packages

Signed-off-by: Sebastian Sch <sebassch@gmail.com>

66 of 113 new or added lines in 4 files covered. (58.41%)

112 existing lines in 4 files now uncovered.

9720 of 15229 relevant lines covered (63.83%)

0.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
25
0.0
0.0% cmd/webhook/start.go
20
80.7
0.0% pkg/utils/tls.go
2
75.59
0.0% controllers/sriovoperatorconfig_controller.go

Coverage Regressions

Lines Coverage ∆ File
83
75.59
0.0% controllers/sriovoperatorconfig_controller.go
26
0.0
0.0% cmd/webhook/start.go
2
94.74
0.0% pkg/orchestrator/openshift/tlsprofile.go
1
70.45
-0.38% controllers/helper.go
Jobs
ID Job ID Ran Files Coverage
1 28423120134.1 30 Jun 2026 05:57AM UTC 110
63.83
GitHub Action Run
Source Files on build 28423120134
  • Tree
  • List 110
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28423120134
  • 3e7f63b1 on github
  • Prev Build on support_post_quantum (#28409297003)
  • Next Build on support_post_quantum (#28739300185)
  • Delete
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