pub fn from_yaml_file(path: &Path) -> Result<DeploymentSpec, SpecError>
Parse a deployment spec from YAML file
Returns SpecError if the file cannot be read, or parsing/validation fails.
SpecError