Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CheckIstioOperatorSpec (0.19 sec)

  1. operator/pkg/manifest/shared.go

    	iop, err := istio.UnmarshalIstioOperator(iopsYAML, allowUnknownField)
    	if err != nil {
    		return nil, fmt.Errorf("could not unmarshal merged YAML: %s\n\nYAML:\n%s", err, iopsYAML)
    	}
    	if errs := validate.CheckIstioOperatorSpec(iop.Spec, true); len(errs) != 0 && !force {
    		l.LogAndError("Run the command with the --force flag if you want to ignore the validation error and proceed.")
    		return iop, fmt.Errorf(errs.Error())
    	}
    	return iop, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top