You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrates OLMv1 webhook operator tests from using external YAML files to
defining resources in Go structs. This change removes file dependencies,
improving test reliability and simplifying test setup.
The migration is a refactoring of code from openshift/origin#30059.
The new code uses better naming conventions and adapts the tests to work
with a controller-runtime client, enhancing test consistency and maintainability.
The migration covers all core test scenarios:
- Validating, mutating, and conversion webhooks.
- Certificate and secret rotation tolerance.
Assisted-by: Gemini
Copy file name to clipboardExpand all lines: openshift/tests-extension/.openshift-tests-extension/openshift_payload_olmv1.json
+50Lines changed: 50 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,5 +48,55 @@
48
48
"source": "openshift:payload:olmv1",
49
49
"lifecycle": "blocking",
50
50
"environmentSelector": {}
51
+
},
52
+
{
53
+
"name": "[sig-olmv1][OCPFeatureGate:NewOLMWebhookProviderOpenshiftServiceCA][Skipped:Disconnected][Serial] OLMv1 operator with webhooks should have a working validating webhook",
54
+
"labels": {},
55
+
"resources": {
56
+
"isolation": {}
57
+
},
58
+
"source": "openshift:payload:olmv1",
59
+
"lifecycle": "blocking",
60
+
"environmentSelector": {}
61
+
},
62
+
{
63
+
"name": "[sig-olmv1][OCPFeatureGate:NewOLMWebhookProviderOpenshiftServiceCA][Skipped:Disconnected][Serial] OLMv1 operator with webhooks should have a working mutating webhook",
64
+
"labels": {},
65
+
"resources": {
66
+
"isolation": {}
67
+
},
68
+
"source": "openshift:payload:olmv1",
69
+
"lifecycle": "blocking",
70
+
"environmentSelector": {}
71
+
},
72
+
{
73
+
"name": "[sig-olmv1][OCPFeatureGate:NewOLMWebhookProviderOpenshiftServiceCA][Skipped:Disconnected][Serial] OLMv1 operator with webhooks should have a working conversion webhook",
74
+
"labels": {},
75
+
"resources": {
76
+
"isolation": {}
77
+
},
78
+
"source": "openshift:payload:olmv1",
79
+
"lifecycle": "blocking",
80
+
"environmentSelector": {}
81
+
},
82
+
{
83
+
"name": "[sig-olmv1][OCPFeatureGate:NewOLMWebhookProviderOpenshiftServiceCA][Skipped:Disconnected][Serial] OLMv1 operator with webhooks should be tolerant to openshift-service-ca certificate rotation",
84
+
"labels": {},
85
+
"resources": {
86
+
"isolation": {}
87
+
},
88
+
"source": "openshift:payload:olmv1",
89
+
"lifecycle": "blocking",
90
+
"environmentSelector": {}
91
+
},
92
+
{
93
+
"name": "[sig-olmv1][OCPFeatureGate:NewOLMWebhookProviderOpenshiftServiceCA][Skipped:Disconnected][Serial] OLMv1 operator with webhooks should be tolerant to tls secret deletion",
0 commit comments