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
@@ -18,5 +18,55 @@
18
18
"source": "openshift:payload:olmv1",
19
19
"lifecycle": "blocking",
20
20
"environmentSelector": {}
21
+
},
22
+
{
23
+
"name": "[sig-olmv1][OCPFeatureGate:NewOLMWebhookProviderOpenshiftServiceCA][Serial] Webhook Operator should have a working validating webhook",
24
+
"labels": {},
25
+
"resources": {
26
+
"isolation": {}
27
+
},
28
+
"source": "openshift:payload:olmv1",
29
+
"lifecycle": "blocking",
30
+
"environmentSelector": {}
31
+
},
32
+
{
33
+
"name": "[sig-olmv1][OCPFeatureGate:NewOLMWebhookProviderOpenshiftServiceCA][Serial] Webhook Operator should have a working mutating webhook",
34
+
"labels": {},
35
+
"resources": {
36
+
"isolation": {}
37
+
},
38
+
"source": "openshift:payload:olmv1",
39
+
"lifecycle": "blocking",
40
+
"environmentSelector": {}
41
+
},
42
+
{
43
+
"name": "[sig-olmv1][OCPFeatureGate:NewOLMWebhookProviderOpenshiftServiceCA][Serial] Webhook Operator should have a working conversion webhook",
44
+
"labels": {},
45
+
"resources": {
46
+
"isolation": {}
47
+
},
48
+
"source": "openshift:payload:olmv1",
49
+
"lifecycle": "blocking",
50
+
"environmentSelector": {}
51
+
},
52
+
{
53
+
"name": "[sig-olmv1][OCPFeatureGate:NewOLMWebhookProviderOpenshiftServiceCA][Serial] Webhook Operator should be tolerant to openshift-service-ca certificate rotation",
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][Serial] Webhook Operator should be tolerant to tls secret deletion",
0 commit comments