Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 210 for Cfg (0.03 sec)

  1. cni/pkg/install/cniconfig_test.go

    			PluginLogLevel:     "debug",
    			KubeconfigFilename: kubeconfigFilename,
    		}
    
    		cfg := config.InstallConfig{
    			CNIConfName:        c.specifiedConfName,
    			ChainedCNIPlugin:   c.chainedCNIPlugin,
    			PluginLogLevel:     "debug",
    			KubeconfigFilename: kubeconfigFilename,
    		}
    		test := func(cfg config.InstallConfig) func(t *testing.T) {
    			return func(t *testing.T) {
    				// Create temp directory for files
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. internal/config/identity/ldap/config.go

    	return l.LDAP.Enabled
    }
    
    // Clone returns a cloned copy of LDAP config.
    func (l *Config) Clone() Config {
    	if l == nil {
    		return Config{}
    	}
    	cfg := Config{
    		LDAP:              l.LDAP.Clone(),
    		stsExpiryDuration: l.stsExpiryDuration,
    	}
    	return cfg
    }
    
    // LDAP keys and envs.
    const (
    	ServerAddr         = "server_addr"
    	SRVRecordName      = "srv_record_name"
    	LookupBindDN       = "lookup_bind_dn"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. pilot/pkg/trustbundle/trustbundle.go

    }
    
    // AddMeshConfigUpdate : Update trustAnchor configurations from meshConfig
    func (tb *TrustBundle) AddMeshConfigUpdate(cfg *meshconfig.MeshConfig) error {
    	var err error
    	if cfg != nil {
    		certs := []string{}
    		endpoints := []string{}
    		for _, pemCert := range cfg.GetCaCertificates() {
    			cert := pemCert.GetPem()
    			if cert != "" {
    				certs = append(certs, cert)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. pilot/pkg/model/telemetry_logging.go

    	if provider.LogFormat != nil {
    		labels = provider.LogFormat.Labels
    	}
    
    	cfg := buildOpenTelemetryAccessLogConfig(logName, hostname, cluster, f, labels)
    
    	return &accesslog.AccessLog{
    		Name:       OtelEnvoyALSName,
    		ConfigType: &accesslog.AccessLog_TypedConfig{TypedConfig: protoconv.MessageToAny(cfg)},
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. pkg/test/framework/config.go

    	var outErr error
    	for _, c := range c.ctx.Clusters() {
    		ik, err := istioctl.New(ctx, istioctl.Config{Cluster: c})
    		if err != nil {
    			return err
    		}
    
    		for _, cfg := range yamlText {
    			cfg := cfg
    
    			// TODO(https://github.com/istio/istio/issues/37324): It's currently unsafe
    			// to call istioctl concurrently since it relies on the istioctl library
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. pilot/pkg/model/destination_rule.go

    	p.exportTo[resolvedHost] = exportToSet
    }
    
    func ConvertConsolidatedDestRule(cfg *config.Config) *ConsolidatedDestRule {
    	return &ConsolidatedDestRule{
    		rule: cfg,
    		from: []types.NamespacedName{cfg.NamespacedName()},
    	}
    }
    
    // Equals compare l equals r consolidatedDestRule or not.
    func (l *ConsolidatedDestRule) Equals(r *ConsolidatedDestRule) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 07:22:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/controller.go

    func ConvertWorkloadEntry(cfg config.Config) *networking.WorkloadEntry {
    	wle := cfg.Spec.(*networking.WorkloadEntry)
    	if wle == nil {
    		return nil
    	}
    
    	// we will merge labels from metadata with spec, with precedence to the metadata
    	labels := maps.MergeCopy(wle.Labels, cfg.Labels)
    	// shallow copy
    	copied := &networking.WorkloadEntry{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. pkg/bootstrap/instance_test.go

    	if err != nil {
    		return nil, err
    	}
    	cfg := &meshconfig.ProxyConfig{}
    
    	err = prototext.Unmarshal(content, cfg)
    	if err != nil {
    		return nil, err
    	}
    
    	// Exported from makefile or env
    	cfg.ConfigPath = filepath.Join(out, "/bootstrap/", base)
    	cfg.CustomConfigFile = filepath.Join(env.IstioSrc, "/tools/packaging/common/envoy_bootstrap.json")
    	if cfg.StatusPort == 0 {
    		cfg.StatusPort = 15020
    	}
    	return cfg, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/tls_test.go

    		etcdConfig.ListenClientUrls[i].Scheme = "https"
    	}
    	for i := range etcdConfig.AdvertiseClientUrls {
    		etcdConfig.AdvertiseClientUrls[i].Scheme = "https"
    	}
    
    	client := testserver.RunEtcd(t, etcdConfig)
    	cfg := storagebackend.Config{
    		Type: storagebackend.StorageTypeETCD3,
    		Transport: storagebackend.TransportConfig{
    			ServerList:     client.Endpoints(),
    			CertFile:       certFile,
    			KeyFile:        keyFile,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_waypoint.go

    				clusters = append(clusters, cb.buildWaypointInboundVIPCluster(proxy, svc, *port, "http").build())
    			}
    			cfg := cb.sidecarScope.DestinationRule(model.TrafficDirectionInbound, proxy, svc.Hostname).GetRule()
    			if cfg != nil {
    				destinationRule := cfg.Spec.(*networking.DestinationRule)
    				for _, ss := range destinationRule.Subsets {
    					if port.Protocol.IsUnsupported() || port.Protocol.IsTCP() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top