Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for IsExternalControlPlane (0.21 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)
Back to top