Skip to content

Commit 8af05db

Browse files
author
Per Goncalves da Silva
committed
<carry> Update webhook ote tests to use latest webhook-operator
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent 5d6e431 commit 8af05db

File tree

4 files changed

+497
-281
lines changed

4 files changed

+497
-281
lines changed

test/experimental-e2e/experimental_e2e_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func TestWebhookSupport(t *testing.T) {
180180
t.Log("By waiting for webhook-operator deployment to be available")
181181
require.EventuallyWithT(t, func(ct *assert.CollectT) {
182182
deployment := &appsv1.Deployment{}
183-
require.NoError(ct, c.Get(t.Context(), types.NamespacedName{Namespace: namespace.GetName(), Name: "webhook-operator-webhook"}, deployment))
183+
require.NoError(ct, c.Get(t.Context(), types.NamespacedName{Namespace: namespace.GetName(), Name: "webhook-operator-controller-manager"}, deployment))
184184
available := false
185185
for _, cond := range deployment.Status.Conditions {
186186
if cond.Type == appsv1.DeploymentAvailable {

testdata/images/bundles/webhook-operator/v0.0.1/manifests/webhook-operator-metrics-reader_rbac.authorization.k8s.io_v1beta1_clusterrole.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
creationTimestamp: null
55
name: webhook-operator-metrics-reader
66
rules:
7-
- nonResourceURLs:
8-
- /metrics
9-
verbs:
10-
- get
7+
- nonResourceURLs:
8+
- /metrics
9+
verbs:
10+
- get

0 commit comments

Comments
 (0)