- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ParseK8SYAMLToIstioOperator (0.37 sec)
-
operator/pkg/validate/validate_values_test.go
pf, err := helm.ReadProfileYAML(tt.profile, filepath.Join(env.IstioSrc, "manifests")) if err != nil { t.Fatalf("fail to read profile: %s", tt.profile) } val, _, err := object.ParseK8SYAMLToIstioOperator(pf) if err != nil { t.Fatalf(" fail to parse profile to ISCP: (%s), got error %s", tt.profile, err) } errs := CheckValues(val.Spec.Values)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 13:43:12 UTC 2024 - 6K bytes - Viewed (0) -
operator/pkg/object/objects.go
if o.Kind == kind { ret = append(ret, o) } } return ret } // ParseK8SYAMLToIstioOperator parses a IstioOperator CustomResource YAML string and unmarshals in into // an IstioOperatorSpec object. It returns the object and an API group/version with it. func ParseK8SYAMLToIstioOperator(yml string) (*v1alpha1.IstioOperator, *schema.GroupVersionKind, error) { o, err := ParseYAMLToK8sObject([]byte(yml))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 21 07:16:46 UTC 2023 - 15.5K bytes - Viewed (0)