-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
As a user, I want to be able to disable some SiteConfig validations done by the controller.
Example:
Today, the controller will validate that there is at least 1 node with the role master defined in the SiteConfig. When working with Hosted Control Planes, there are no master nodes defined in the SiteConfig.
Rather than adding new "cases" to the validation, it may be enough to be able to disable some validations via an annotation or something.
Assisted Service allows disabling specific agent validations, examples:
DISABLED_HOST_VALIDATIONS: sufficient-packet-loss-requirement-for-role
Related code: https://github.com/openshift/assisted-service/blob/e19be01334a7662ab99b153874d3ff0867e14192/internal/host/config.go#L23