Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 59 for configPath (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/istio-agent/agent_test.go

    		},
    	}
    
    	// Set-up envoy defaults
    	resp.ProxyConfig.ProxyBootstrapTemplatePath = filepath.Join(env.IstioSrc, "./tools/packaging/common/envoy_bootstrap.json")
    	resp.ProxyConfig.ConfigPath = d
    	resp.ProxyConfig.BinaryPath = filepath.Join(env.LocalOut, "envoy")
    	if path, exists := pkgenv.Register("ENVOY_PATH", "", "Specifies the path to an Envoy binary.").Lookup(); exists {
    		resp.ProxyConfig.BinaryPath = path
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. cmd/admin-bucket-handlers.go

    					writeErrorResponse(ctx, w, exportError(ctx, err, cfgFile, bucket), r.URL)
    					return
    				}
    				configData, err := xml.Marshal(config)
    				if err != nil {
    					writeErrorResponse(ctx, w, exportError(ctx, err, cfgFile, bucket), r.URL)
    					return
    				}
    				rawDataFn(bytes.NewReader(configData), cfgPath, len(configData))
    			case bucketLifecycleConfig:
    				config, _, err := globalBucketMetadataSys.GetLifecycleConfig(bucket)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. cmd/bucket-versioning-handler.go

    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    		return
    	}
    
    	configData, err := xml.Marshal(v)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	updatedAt, err := globalBucketMetadataSys.Update(ctx, bucket, bucketVersioningConfig, configData)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. cmd/bucket-metadata.go

    		case bucketPolicyConfig:
    			b.PolicyConfigJSON = configData
    		case bucketNotificationConfig:
    			b.NotificationConfigXML = configData
    		case bucketLifecycleConfig:
    			b.LifecycleConfigXML = configData
    		case bucketSSEConfig:
    			b.EncryptionConfigXML = configData
    		case bucketTaggingConfig:
    			b.TaggingConfigXML = configData
    		case objectLockConfig:
    			b.ObjectLockConfigXML = configData
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. cmd/bucket-metadata-sys.go

    	case bucketPolicyConfig:
    		meta.PolicyConfigJSON = configData
    		meta.PolicyConfigUpdatedAt = updatedAt
    	case bucketNotificationConfig:
    		meta.NotificationConfigXML = configData
    	case bucketLifecycleConfig:
    		meta.LifecycleConfigXML = configData
    		meta.LifecycleConfigUpdatedAt = updatedAt
    	case bucketSSEConfig:
    		meta.EncryptionConfigXML = configData
    		meta.EncryptionConfigUpdatedAt = updatedAt
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top