Skip to content

Commit

Permalink
Fix wrong key name in webhook test
Browse files Browse the repository at this point in the history
  • Loading branch information
averevki committed Jun 20, 2024
1 parent 81edbd5 commit 80a20ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def authorization(authorization, openshift, authorino_domain) -> AuthConfig:
kube_attrs = {
"namespace": {"value": openshift.project},
"group": {"value": "networking.k8s.io"},
"resources": {"value": "Ingress"},
"resource": {"value": "Ingress"},
"verb": {"value": "create"},
}
# add response for admission webhook for creating Ingress
Expand All @@ -105,7 +105,7 @@ def authorization(authorization, openshift, authorino_domain) -> AuthConfig:
kube_attrs = {
"namespace": {"value": openshift.project},
"group": {"value": "networking.k8s.io"},
"resources": {"value": "Ingress"},
"resource": {"value": "Ingress"},
"verb": {"value": "delete"},
}
# add response for admission webhook for deleting Ingress
Expand Down

0 comments on commit 80a20ca

Please sign in to comment.