-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
area/apiIndicates a PR directly modifies the 'pkg/apis' directoryIndicates a PR directly modifies the 'pkg/apis' directoryarea/webhookIndicates a PR or issue relates to the webhook componentIndicates a PR or issue relates to the webhook componenthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.priority/backlogHigher priority than priority/awaiting-more-evidence.Higher priority than priority/awaiting-more-evidence.
Description
Is your feature request related to a problem? Please describe.
We currently don't have a way of defaulting fields that is actually reflected on the API resources after admission.
This would be really helpful for users to understand what fields they have not specified and so have been defaulted.
Describe the solution you'd like
We can extend the current validating webhook to also contain a mutating webhook, and then define defaults similar to other Kubernetes packages.
Describe alternatives you've considered
Not persisting this information to the API and instead just considering defaults whilst processing resources.
/kind feature
/area api
Metadata
Metadata
Assignees
Labels
area/apiIndicates a PR directly modifies the 'pkg/apis' directoryIndicates a PR directly modifies the 'pkg/apis' directoryarea/webhookIndicates a PR or issue relates to the webhook componentIndicates a PR or issue relates to the webhook componenthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.priority/backlogHigher priority than priority/awaiting-more-evidence.Higher priority than priority/awaiting-more-evidence.