Skip to main content

apply_defaults

Function apply_defaults 

Source
pub fn apply_defaults(config: &mut Config, labels: &LabelMap)
Expand description

Apply podbox label defaults to a Config, with the user config winning on every field that was explicitly set.

Accepts both podbox.* (preferred) and podmgr.* (compat fallback) label keys. New keys take precedence when both are present.