Remove webhooks from CRDs and unbreak K8s 1.22 (branch) #102
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
HNC hasn't has CRD conversion webhooks implemented since v0.6, but
somehow we still had them in our CRDs. It looks like earlier versions of
K8s simply ignored them but 1.22 hits internal errors if the webhooks
can't be called, even though no conversion is actually occurring.
Tested: can't install HNC successfully on 1.22 without this change; can
install successfully with it. Also, before this change, if I edit the
CRDs on the server to remove the conversion webhooks, HNC starts
working.
Fixes #86