Skip to content

Commit

Permalink
Merge pull request #456 from averevki/fix-webhook-test
Browse files Browse the repository at this point in the history
Fix wrong key name in webhook test
  • Loading branch information
pehala authored Jun 21, 2024
2 parents 81edbd5 + 80a20ca commit b107bb7
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 b107bb7

Please sign in to comment.