You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see! So gator actually does support testing DELETE operations, but I had a malformed admission review object.
Yes, I agree that a better error message would be great! And perhaps some examples on the Gatekeeper website showing how to construct tests with both AdmissionReview objects as well as concrete resources.
What steps did you take and what happened:
I created a test suite that includes an
AdmissionReview
object of typeDELETE
:When executing
gator
, when it encounters this test case, I get:There is no Kubernetes involved, so I suspect that Gator is just linking to an old version of the Kubernetes library that handles admission reviews.
What did you expect to happen:
It should be possible to create Gator test cases that simulate a DELETE operation
Environment:
The text was updated successfully, but these errors were encountered: