Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 159 for istiooperators (0.29 sec)

  1. operator/pkg/object/objects.go

    			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))
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 15.5K bytes
    - Viewed (1)
  2. pkg/test/framework/components/istio/flags.go

    		"Deploy Istio into the target Kubernetes environment.")
    	flag.StringVar(&settingsFromCommandline.PrimaryClusterIOPFile, "istio.test.kube.helm.iopFile", settingsFromCommandline.PrimaryClusterIOPFile,
    		"IstioOperator spec file. This can be an absolute path or relative to repository root.")
    	flag.StringVar(&helmValues, "istio.test.kube.helm.values", helmValues,
    		"Manual overrides for Helm values file. Only valid when deploying Istio.")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 31 15:08:52 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. operator/pkg/apis/istio/v1alpha1/validation/validation.go

    	}
    
    	for _, d := range warningSettings {
    		v, f, _ := tpath.GetFromStructPath(iop, d.old)
    		if f {
    			switch t := v.(type) {
    			// need to do conversion for bool value defined in IstioOperator component spec.
    			case *wrappers.BoolValue:
    				v = t.Value
    			}
    			if v != d.def {
    				messages = append(messages, fmt.Sprintf("! %s is deprecated; use %s instead", firstCharsToLower(d.old), d.new))
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 20:02:28 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest_shared_test.go

    	testRestConfig.QPS = 50
    	testRestConfig.Burst = 100
    	if err != nil {
    		return err
    	}
    
    	s := scheme.Scheme
    	s.AddKnownTypes(v1alpha1.SchemeGroupVersion, &v1alpha1.IstioOperator{})
    
    	testClient, err = client.New(testRestConfig, client.Options{Scheme: s})
    	if err != nil {
    		return err
    	}
    	return nil
    }
    
    var interceptorFunc = interceptor.Funcs{Patch: func(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:28 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. pkg/test/framework/components/istio/kube.go

    	// Top-level work dir for Istio deployment.
    	workDir, err := ctx.CreateTmpDirectory("istio-deployment")
    	if err != nil {
    		return nil, err
    	}
    
    	// Generate common IstioOperator yamls for different cluster types (primary, remote, remote-config)
    	iopFiles, err := genCommonOperatorFiles(ctx, cfg, workDir)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  6. operator/cmd/mesh/operator-remove.go

    		cmd.Print("Cancelled.\n")
    		os.Exit(1)
    	}
    
    	l.LogAndPrintf("Removing Istio operator...")
    	// Create an empty IOP for the purpose of populating revision. Apply code requires a non-nil IOP.
    	var iop *iopv1alpha1.IstioOperator
    	if orArgs.revision != "" {
    		emptyiops := &v1alpha1.IstioOperatorSpec{Profile: "empty", Revision: orArgs.revision}
    		iop, err = translate.IOPStoIOP(emptyiops, "", "")
    		if err != nil {
    			l.LogAndFatal(err)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. istioctl/pkg/validate/validate_test.go

    spec: ~`
    	invalidIstioConfig = `
    apiVersion: install.istio.io/v1alpha1
    kind: IstioOperator
    metadata:
      namespace: istio-system
      name: example-istiocontrolplane
    spec:
      dummy:
      traffic_management:
        components:
        namespace: istio-traffic-management
    `
    	validIstioConfig = `
    apiVersion: install.istio.io/v1alpha1
    kind: IstioOperator
    metadata:
      namespace: istio-system
      name: example-istiocontrolplane
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 08:08:36 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  8. operator/pkg/helm/helm.go

    	if profiles[profileOrPath] && installPackagePath != "" {
    		profileOrPath = filepath.Join(installPackagePath, "profiles", profileOrPath+".yaml")
    	}
    	// This contains the IstioOperator CR.
    	baseCRYAML, err := ReadProfileYAML(profileOrPath, installPackagePath)
    	if err != nil {
    		return "", err
    	}
    
    	if !IsDefaultProfile(profileOrPath) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. operator/pkg/validate/validate.go

    	}
    	// requiredValues lists all the values that must be non-empty.
    	requiredValues = map[string]bool{}
    )
    
    // CheckIstioOperator validates the operator CR.
    func CheckIstioOperator(iop *operator_v1alpha1.IstioOperator, checkRequiredFields bool) error {
    	if iop == nil {
    		return nil
    	}
    
    	errs := CheckIstioOperatorSpec(iop.Spec, checkRequiredFields)
    	return errs.ToError()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 12 16:04:15 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. operator/pkg/translate/translate_value.go

    	APIMapping map[string]*Translation `yaml:"apiMapping,omitempty"`
    	// KubernetesPatternMapping defines mapping patterns from k8s resource paths to IstioOperator API paths.
    	KubernetesPatternMapping map[string]string `yaml:"kubernetesPatternMapping,omitempty"`
    	// KubernetesMapping defines actual k8s mappings generated from KubernetesPatternMapping before each translation.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 03:52:24 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top