crossplane / crossplane/crossplane-tools
Generate webhook functions for fields with `+immutable` comment tag
Open
enhancement
wontfix
- Dominant language
- Go
- Stars
- 37
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
### What problem are you facing?
Webhooks are available in Crossplane now and immutability check on `UPDATE` action is implemented [manually](https://github.com/crossplane/crossplane/blob/736e72a/apis/apiextensions/v1/xrd_webhooks.go#L49) for each field.
### How could Crossplane help solve your problem?
Similar to reference resolver generation, we can have a generator in crossplane-tools that will scan the fields for `// +immutable` tag and generate the logic automatically.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.