Add a validator for validating components in the cluster infrastructure.