Closed rrey-aviatrix closed 2 years ago
I made a test where I replaced all occurrences of v1beta1
with v1
in the query and the test succeeded but I honestly don't know if that makes sense :/
I think the issue is that v1beta1
versions were removed from CRDs for the 6.0.1 release. They added them back in the meantime. But we should just update to v1
.
Hmm, replacing v1beta1
with v1
in the tests directory did not work for me :/
I only tested through curl and did not test end to end with helm test again :/
Fixed it now. Seems like the test is just no longer relevant, as the webhook no longer checks for the condition that should have caused a failure. I believe this is because the new CRD version already ensures this. So I switched to a different check.
Installed snapshot-validation-webhook-1.4.3 (app version v6.0.1) which is properly deployed:
when running
helm test snapshot-validation-webhook
the operation fails: