Skip to main content

validate_pod_metadata

Function validate_pod_metadata 

Source
pub fn validate_pod_metadata(defaults: &MoverDefaults) -> Vec<ValidationError>
Expand description

Validate moverDefaults.podLabels/podAnnotations key sets, accumulating every reserved key so a user fixes them all in one apply.

New fields, so this is safe in the shared repository aggregates the controller re-runs: no stored object can carry a key this rejects.