Make sure the webhook is always registered before allowing user to create resources #1113
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
kind/question
Issues or PRs that are questions around the project or a particular feature
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone
As of today,
knative/pkg
's code is the one responsible to register the webhook on kubernetes. This means, the following are possible :In all those cases, the user can end up creating resources that are either not valid or not mutated (with defaults values)
There is two way to fix these cases:
yaml
s, so that the webhook is registered as soon as the CRDs are created, before it started, and thus it will fail if the webhook is not runningI have a very very high preference for solution
1.
.The text was updated successfully, but these errors were encountered: