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

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

Build:
Build:
LAST BUILD BRANCH: conditions/operator-config-v2
DEFAULT BRANCH: master
Ran 29 Jun 2026 11:30PM 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:17PM UTC coverage: 63.773% (-0.1%) from 63.885%
28409028213

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

139 existing lines in 7 files now uncovered.

9712 of 15229 relevant lines covered (63.77%)

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
14
38.38
-1.75% api/v1/zz_generated.deepcopy.go
6
64.71
0.0% controllers/sriovnetworkpoolconfig_controller.go
5
72.92
-5.21% pkg/daemon/status.go
3
77.17
-2.36% controllers/drain_controller.go
2
94.74
0.0% pkg/orchestrator/openshift/tlsprofile.go
Jobs
ID Job ID Ran Files Coverage
1 28409028213.1 29 Jun 2026 11:30PM UTC 110
63.77
GitHub Action Run
Source Files on build 28409028213
  • Tree
  • List 110
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28409028213
  • 642a762d on github
  • Prev Build on support_post_quantum (#28382451172)
  • Next Build on support_post_quantum (#28409297003)
  • 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