Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for IstioOperator (0.25 sec)

  1. operator/cmd/mesh/uninstall.go

    	purge bool
    	// revision is the Istio control plane revision the command targets.
    	revision string
    	// filename is the path of input IstioOperator CR.
    	filename string
    	// set is a string with element format "path=value" where path is an IstioOperator path and the value is a
    	// value to set the node at that path to.
    	set []string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. operator/pkg/translate/translate.go

    	apiVals := make(map[string]any)
    
    	// First, translate the IstioOperator API to helm Values.
    	apiValsStr, err := t.ProtoToValues(iop)
    	if err != nil {
    		return "", err
    	}
    	err = yaml.Unmarshal([]byte(apiValsStr), &apiVals)
    	if err != nil {
    		return "", err
    	}
    
    	scope.Debugf("Values translated from IstioOperator API:\n%s", apiValsStr)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 19:43:09 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. 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 (0)
  4. 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)
  5. 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)
  6. 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)
  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/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)
  9. istioctl/pkg/kubeinject/kubeinject.go

    // getIOPConfigs gets the configs in IOPs.
    func getIOPConfigs() (string, *meshconfig.MeshConfig, error) {
    	var meshConfig *meshconfig.MeshConfig
    	var valuesConfig string
    	if iopFilename != "" {
    		var iop *iopv1alpha1.IstioOperator
    		y, err := manifest.ReadLayeredYAMLs([]string{iopFilename})
    		if err != nil {
    			return "", nil, err
    		}
    		iop, err = validate.UnmarshalIOP(y)
    		if err != nil {
    			return "", nil, err
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. operator/pkg/component/component.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    /*
    Package component defines an in-memory representation of IstioOperator.<Feature>.<Component>. It provides functions
    for manipulating the component and rendering a manifest from it.
    See ../README.md for an architecture overview.
    */
    package component
    
    import (
    	"fmt"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 11.7K bytes
    - Viewed (0)
Back to top