Skip to content

Add webhooks test - #141

Merged
pehala merged 1 commit into
Kuadrant:mainfrom
mkudlej:raw_http_webhook
Nov 30, 2022
Merged

Add webhooks test#141
pehala merged 1 commit into
Kuadrant:mainfrom
mkudlej:raw_http_webhook

Conversation

@mkudlej

@mkudlej mkudlej commented Nov 3, 2022

Copy link
Copy Markdown

This PR adds testcase for testing k8s Dynamic Admission Control webhooks, see https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/ which are used for calling Authorino service for authenticating of Ingress object creation.

@mkudlej
mkudlej requested review from jsmolar and pehala November 3, 2022 14:05
@pehala pehala changed the title add webhooks test Add webhooks test Nov 3, 2022
@pehala
pehala requested a review from jakurban November 3, 2022 15:15
Comment thread Pipfile Outdated
Comment thread testsuite/objects/__init__.py Outdated
Comment thread testsuite/openshift/objects/authorino.py Outdated
Comment thread testsuite/tests/kuadrant/authorino/operator/tls/test_webhook.py Outdated
Comment thread testsuite/openshift/objects/validating_webhook.py Outdated
Comment thread testsuite/tests/kuadrant/authorino/operator/http/test_raw_http.py Outdated
Comment thread testsuite/tests/kuadrant/authorino/operator/tls/test_webhook.py Outdated
Comment thread testsuite/tests/kuadrant/authorino/operator/tls/test_webhook.py Outdated
Comment thread testsuite/tests/kuadrant/authorino/operator/tls/test_webhook.py Outdated
Comment thread testsuite/tests/kuadrant/authorino/operator/tls/test_webhook.py Outdated
Comment thread testsuite/tests/kuadrant/authorino/operator/tls/test_webhook.py Outdated
Comment thread testsuite/tests/kuadrant/authorino/operator/tls/test_webhook.py Outdated
Comment thread testsuite/tests/kuadrant/authorino/operator/tls/test_webhook.py Outdated
Comment thread testsuite/tests/kuadrant/authorino/operator/tls/test_webhook.py Outdated
Comment thread testsuite/tests/kuadrant/authorino/conftest.py Outdated
Comment thread testsuite/openshift/objects/authorino.py
@mkudlej
mkudlej force-pushed the raw_http_webhook branch 2 times, most recently from 146f40b to 6f70598 Compare November 24, 2022 10:56
@mkudlej
mkudlej requested review from jakurban and pehala November 24, 2022 10:58
Comment thread testsuite/tests/kuadrant/authorino/operator/tls/test_webhook.py Outdated
Comment thread testsuite/tests/kuadrant/authorino/operator/tls/test_webhook.py Outdated
Comment thread testsuite/tests/kuadrant/authorino/operator/tls/test_webhook.py Outdated
Comment thread testsuite/tests/kuadrant/authorino/operator/tls/test_webhook.py Outdated
@mkudlej
mkudlej requested a review from pehala November 28, 2022 16:10
Comment thread testsuite/openshift/objects/auth_config/sections.py Outdated
Comment thread testsuite/tests/kuadrant/authorino/operator/tls/test_webhook.py Outdated
Comment thread testsuite/openshift/objects/validating_webhook.py Outdated
@mkudlej
mkudlej force-pushed the raw_http_webhook branch 2 times, most recently from 69d5df8 to d45e5fa Compare November 29, 2022 15:58
@mkudlej
mkudlej requested a review from pehala November 29, 2022 16:03

@pehala pehala left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes! It is much better now!

Comment thread testsuite/tests/kuadrant/authorino/operator/tls/test_webhook.py Outdated
@mkudlej
mkudlej requested a review from pehala November 30, 2022 10:46
pehala
pehala previously approved these changes Nov 30, 2022
@jsmolar

jsmolar commented Nov 30, 2022

Copy link
Copy Markdown

@mkudlej PR looks good, but I would appreciate a short description for test_webhook.py that briefly summarizes the tests case (mainly setup)

@mkudlej

mkudlej commented Nov 30, 2022

Copy link
Copy Markdown
Author

@jsmolar Is it better?

@pehala
pehala merged commit 521c453 into Kuadrant:main Nov 30, 2022
@mkudlej
mkudlej deleted the raw_http_webhook branch November 30, 2022 13:40
@jsmolar jsmolar mentioned this pull request Aug 8, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants