You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CRD, as the most popular extension point of Kubernetes, is used heavily in prometheus project. I would like to mention that Kubernetes is now supporting CRD validation rules for more complicated field validation logic.
It would help not only shifting the validation check left to catch the issue early but also significantly reduced the usage of webhooks(even possibly replace the Webhook if the validation logic not involve external dependencies). Additional, it is also supported in kubebuild with a simple marker like // +kubebuilder:validation:XValidation:rule="the validation logic".
I am writing to see if the community would be interested in this feature and please feel free to share the thoughts. Thank you!
The text was updated successfully, but these errors were encountered:
Hi prometheus community,
CRD, as the most popular extension point of Kubernetes, is used heavily in prometheus project. I would like to mention that Kubernetes is now supporting CRD validation rules for more complicated field validation logic.
It would help not only shifting the validation check left to catch the issue early but also significantly reduced the usage of webhooks(even possibly replace the Webhook if the validation logic not involve external dependencies). Additional, it is also supported in kubebuild with a simple marker like
// +kubebuilder:validation:XValidation:rule="the validation logic"
.I am writing to see if the community would be interested in this feature and please feel free to share the thoughts. Thank you!
The text was updated successfully, but these errors were encountered: