Skip to content

Commit

Permalink
Merge pull request Kuadrant#419 from pehala/fix_webhook
Browse files Browse the repository at this point in the history
Improve test_webhook
  • Loading branch information
jsmolar authored Jun 3, 2024
2 parents e0396db + bf403bd commit e73869a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ RateLimitPolicy,$\
DNSPolicy,$\
TLSPolicy,$\
Authorino,$\
ValidatingWebhookConfiguration,$\
WasmPlugin"

clean: ## Clean all objects in Openshift created by running this testsuite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ def validating_webhook(openshift, authorino_domain, certificates, blame):
with openshift.context:
webhook = oc.create(model)
yield webhook
webhook.delete()
with openshift.context:
webhook.delete()


# pylint: disable=unused-argument
Expand Down

0 comments on commit e73869a

Please sign in to comment.