pub fn validate_placement(
config: &PlacementConfig,
) -> Result<(), PlacementRejection>Expand description
Validates a user-supplied placement block.
Catches inputs Kubernetes itself would reject, so the user sees a clear condition on their CR instead of a Deployment that silently fails to apply.
ยงErrors
Returns the first PlacementRejection encountered.