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

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

Build:
Build:
LAST BUILD BRANCH: conditions/operator-config-v2
DEFAULT BRANCH: master
Ran 29 Jun 2026 11:37PM 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

29 Jun 2026 11:23PM UTC coverage: 63.806% (+0.03%) from 63.773%
28409297003

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%)

116 existing lines in 4 files now uncovered.

9717 of 15229 relevant lines covered (63.81%)

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
5
72.92
0.0% pkg/daemon/status.go
2
94.74
0.0% pkg/orchestrator/openshift/tlsprofile.go
Jobs
ID Job ID Ran Files Coverage
1 28409297003.1 29 Jun 2026 11:37PM UTC 110
63.81
GitHub Action Run
Source Files on build 28409297003
  • Tree
  • List 110
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28409297003
  • 202c7415 on github
  • Prev Build on support_post_quantum (#28409028213)
  • Next Build on support_post_quantum (#28423120134)
  • 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