Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for IsExternalControlPlane (0.4 sec)

  1. tests/integration/security/external_ca/main_test.go

    			return err
    		}).
    		Setup(istio.Setup(nil, func(ctx resource.Context, cfg *istio.Config) {
    			var isExternalControlPlane bool
    			for _, cluster := range ctx.AllClusters() {
    				if cluster.IsExternalControlPlane() {
    					isExternalControlPlane = true
    				}
    			}
    
    			cfg.ControlPlaneValues = generateConfigYaml(certs, false, isExternalControlPlane)
    			cfg.ConfigClusterValues = generateConfigYaml(certs, true, false)
    		})).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 22 14:18:21 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. pkg/test/framework/components/cluster/clusters.go

    	return c.filterClusters(func(cc Cluster) bool {
    		return !cc.IsExternalControlPlane()
    	}, exclude(excluded...))
    }
    
    // IsExternalControlPlane indicates whether the clusters are set up in an enternal
    // control plane configuration. An external control plane is a primary cluster that
    // gets its Istio configuration from a different cluster.
    func (c Clusters) IsExternalControlPlane() bool {
    	for _, cc := range c {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. tests/integration/security/filebased_tls_origination/main_test.go

    {{- if not .isExternalControlPlane }}
    components:
      egressGateways:
      - enabled: true
        name: istio-egressgateway
    values:
       gateways:
          istio-egressgateway:
             secretVolumes:
             - name: client-custom-certs
               secretName: egress-gw-cacerts
               mountPath: /etc/certs/custom
    {{- end }}
    `, map[string]bool{"isExternalControlPlane": ctx.AllClusters().IsExternalControlPlane()})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. pkg/test/framework/components/cluster/cluster.go

    	// IsRemote returns true if this is a remote cluster, which uses a control plane
    	// residing in another cluster.
    	IsRemote() bool
    
    	// IsExternalControlPlane returns true if this is a cluster containing an instance
    	// of the Istio control plane but with its source of config in another cluster.
    	IsExternalControlPlane() bool
    
    	// Primary returns the primary cluster for this cluster. Will return itself if
    	// IsPrimary.
    	Primary() Cluster
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. pkg/test/framework/components/cluster/topology.go

    }
    
    func (c Topology) IsConfig() bool {
    	return c.Config().Name() == c.Name()
    }
    
    func (c Topology) IsRemote() bool {
    	return !c.IsPrimary()
    }
    
    func (c Topology) IsExternalControlPlane() bool {
    	return c.IsPrimary() && !c.IsConfig()
    }
    
    func (c Topology) Primary() Cluster {
    	cluster, ok := c.AllClusters[c.PrimaryClusterName]
    	if !ok || cluster == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. pkg/test/framework/components/istio/kube.go

    		iopFiles:             iopFiles,
    		ingress:              map[string]map[string]ingress.Instance{},
    		istiod:               map[string]istiokube.PortForwarder{},
    		externalControlPlane: ctx.AllClusters().IsExternalControlPlane(),
    	}
    
    	t0 := time.Now()
    	defer func() {
    		ctx.RecordTraceEvent("istio-deploy", time.Since(t0).Seconds())
    	}()
    	i.id = ctx.TrackResource(i)
    
    	if !cfg.DeployIstio {
    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. pkg/test/framework/components/istio/config.go

    	}
    
    	return fmt.Sprintf(`
    apiVersion: install.istio.io/v1alpha1
    kind: IstioOperator
    spec:
    %s
    `, data)
    }
    
    func (c *Config) fillDefaults(ctx resource.Context) {
    	if ctx.AllClusters().IsExternalControlPlane() {
    		c.PrimaryClusterIOPFile = IntegrationTestExternalIstiodPrimaryDefaultsIOP
    		c.ConfigClusterIOPFile = IntegrationTestExternalIstiodConfigDefaultsIOP
    		if c.ConfigClusterValues == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. pkg/test/framework/components/istio/configmap.go

    	_, err := c.Kube().CoreV1().ConfigMaps(cm.namespace).Update(context.TODO(), cfgMap, metav1.UpdateOptions{})
    	if err != nil {
    		return err
    	}
    	if c.IsExternalControlPlane() {
    		// Normal control plane uses ConfigMap informers to load mesh config. This is ~instant.
    		// The external config uses a file mounted ConfigMap. This is super slow, but we can trigger it explicitly:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top