Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for configPath (0.18 sec)

  1. pkg/kube/inject/inject_test.go

    	}
    }
    
    func TestCleanProxyConfig(t *testing.T) {
    	overrides := mesh.DefaultProxyConfig()
    	overrides.ConfigPath = "/foo/bar"
    	overrides.DrainDuration = durationpb.New(7 * time.Second)
    	overrides.ProxyMetadata = map[string]string{
    		"foo": "barr",
    	}
    	explicit := mesh.DefaultProxyConfig()
    	explicit.ConfigPath = constants.ConfigPathDir
    	explicit.DrainDuration = durationpb.New(45 * time.Second)
    	cases := []struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. pkg/config/mesh/mesh.go

    func DefaultProxyConfig() *meshconfig.ProxyConfig {
    	// TODO: include revision based on REVISION env
    	// TODO: set default namespace based on POD_NAMESPACE env
    	return &meshconfig.ProxyConfig{
    		ConfigPath:               constants.ConfigPathDir,
    		ClusterName:              &meshconfig.ProxyConfig_ServiceCluster{ServiceCluster: constants.ServiceClusterName},
    		DrainDuration:            durationpb.New(45 * time.Second),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. pkg/istio-agent/agent.go

    	// monitoring the certs and restart if the content of the certs changes.
    	if len(a.proxyConfig.CustomConfigFile) > 0 {
    		// there is a custom configuration. Don't write our own config - but keep watching the certs.
    		a.envoyOpts.ConfigPath = a.proxyConfig.CustomConfigFile
    		a.envoyOpts.ConfigCleanup = false
    	} else {
    		out, err := bootstrap.New(bootstrap.Config{
    			Node:             node,
    			CompliancePolicy: common_features.CompliancePolicy,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  4. pkg/bootstrap/instance_test.go

    		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)
  5. pkg/config/analysis/analyzers/testdata/sidecar-injector-configmap-absolute-override.yaml

              protocol: TCP
              name: http-envoy-prom
            args:
            - proxy
            - sidecar
            - --domain
            - $(POD_NAMESPACE).svc.{{ .Values.global.proxy.clusterDomain }}
            - --configPath
            - "/etc/istio/proxy"
            - --binaryPath
            - "/usr/local/bin/envoy"
            - --serviceCluster
            {{ if ne "" (index .ObjectMeta.Labels "app") -}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 21 03:10:21 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/testdata/common/sidecar-injector-configmap.yaml

              protocol: TCP
              name: http-envoy-prom
            args:
            - proxy
            - sidecar
            - --domain
            - $(POD_NAMESPACE).svc.{{ .Values.global.proxy.clusterDomain }}
            - --configPath
            - "/etc/istio/proxy"
            - --binaryPath
            - "/usr/local/bin/envoy"
            - --serviceCluster
            {{ if ne "" (index .ObjectMeta.Labels "app") -}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 21 03:10:21 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/testdata/common/sidecar-injector-enabled-nsbydefault.yaml

              protocol: TCP
              name: http-envoy-prom
            args:
            - proxy
            - sidecar
            - --domain
            - $(POD_NAMESPACE).svc.{{ .Values.global.proxy.clusterDomain }}
            - --configPath
            - "/etc/istio/proxy"
            - --binaryPath
            - "/usr/local/bin/envoy"
            - --serviceCluster
            {{ if ne "" (index .ObjectMeta.Labels "app") -}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 21 03:10:21 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/testdata/sidecar-injector-configmap-with-revision-canary.yaml

              protocol: TCP
              name: http-envoy-prom
            args:
            - proxy
            - sidecar
            - --domain
            - $(POD_NAMESPACE).svc.{{ .Values.global.proxy.clusterDomain }}
            - --configPath
            - "/etc/istio/proxy"
            - --binaryPath
            - "/usr/local/bin/envoy"
            - --serviceCluster
            {{ if ne "" (index .ObjectMeta.Labels "app") -}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 21 03:10:21 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  9. pkg/bootstrap/config.go

    			opts = append(opts, option.ZipkinAddress(tracer.Zipkin.Address))
    		case *meshAPI.Tracing_Lightstep_:
    			isH2 = true
    			// Write the token file.
    			lightstepAccessTokenPath := lightstepAccessTokenFile(config.ConfigPath)
    			//nolint: staticcheck  // Lightstep deprecated
    			err := os.WriteFile(lightstepAccessTokenPath, []byte(tracer.Lightstep.AccessToken), 0o666)
    			if err != nil {
    				return nil, err
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. pkg/config/validation/agent/validation.go

    		}
    	}
    
    	return
    }
    
    // ValidateMeshConfigProxyConfig checks that the mesh config is well-formed
    func ValidateMeshConfigProxyConfig(config *meshconfig.ProxyConfig) (errs error) {
    	if config.ConfigPath == "" {
    		errs = multierror.Append(errs, errors.New("config path must be set"))
    	}
    
    	if config.BinaryPath == "" {
    		errs = multierror.Append(errs, errors.New("binary path must be set"))
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top