rancher / cluster-api-provider-rke2

RKE2 bootstrap and control-plane Cluster API providers.
https://rancher.github.io/cluster-api-provider-rke2/
Apache License 2.0
82 stars 28 forks source link

Use CEL expressions instead of validating webhooks. #270

Open Danil-Grigorev opened 8 months ago

Danil-Grigorev commented 8 months ago

CAPRKE2 provider uses validation webhooks to ensure API fields are valid. Webhooks are less versatile than CEL expression validation within API server, and the code can’t be directly reused when the API structure is embedded or reused.

Current set of validation rules could be transferred there without changes.

github-actions[bot] commented 5 months ago

This issue is stale because it has been open 90 days with no activity.