|
Ran
|
Jobs
1
|
Files
154
|
Run time
1min
|
Badge
README BADGES
|
push
github
[release-1.19] Add VMExport MutatingAdmissionPolicy for Primary-UDN (#4664) * Grant HCO access to mutating admission policies Add operator RBAC for MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding resources and regenerate the corresponding deployment and CSV manifests. (cherry picked from commit d52384061) Assisted-by: gpt-5.6-luna (via Codex) Signed-off-by: Ram Lavi <ralavi@redhat.com> * Implement VMExport OVN admission operands Add GenericOperand handlers for a conditional VMExport annotation mutation and a primary User Defined Network namespace binding. (cherry picked from commit 93d005e7a) Assisted-by: gpt-5.6-luna (via Codex) Signed-off-by: Ram Lavi <ralavi@redhat.com> * Enable VMExport OVN admission operands Register the policy and binding in the OpenShift operand handler, cache their managed resources, and verify normal uninstall cleanup. (cherry picked from commit 34823a80b) Assisted-by: gpt-5.6-luna (via Codex) Signed-off-by: Ram Lavi <ralavi@redhat.com> * Test VMExport open default ports admission Add an OpenShift functional test that creates a VMExport in a primary UDN namespace and verifies the MAP-injected annotation. (cherry picked from commit 271d13391) Assisted-by: gpt-5 (via Codex) Signed-off-by: Ram Lavi <ralavi@redhat.com> * Gate VMExport admission operands on Kubernetes 1.36 Discover and cache the Kubernetes server version in ClusterInfo during startup. Cache setup and operand registration derive MutatingAdmissionPolicy support from the shared version and enable the operands only on Kubernetes 1.36 or newer. Assisted-by: gpt-5 (via Codex) Signed-off-by: Ram Lavi <ralavi@redhat.com> --------- Signed-off-by: Ram Lavi <ralavi@redhat.com>
155 of 187 new or added lines in 6 files covered. (82.89%)
11824 of 13982 relevant lines covered (84.57%)
2.21 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 18 |
80.58
|
-7.26% | pkg/util/cluster.go |
| 12 |
91.11
|
controllers/handlers/vmexport.go | |
| 1 |
84.13
|
0.26% | controllers/commontestutils/testUtils.go |
| 1 |
64.71
|
16.88% | pkg/util/fake/clusterinfo/clusterinfo_mock.go |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | Unit - 39644297075.1 | 154 |
84.57
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|