-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
We're using controller-runtime's MultiValidatingHandler, which returns as soon as one validator reports an error*. That prevents other validators from running, and the user may get an incomplete picture of validation failures.
func NewValidator(client ctrlclient.Client, decoder admission.Decoder) admission.Handler { | |
return admission.MultiValidatingHandler( | |
NewClusterUUIDLabeler(client, decoder).Validator(), | |
NewNutanixValidator(client, decoder).Validator(), | |
) | |
} |
Metadata
Metadata
Assignees
Labels
No labels