Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for insecureRegistries (0.13 sec)

  1. pilot/cmd/pilot-agent/options/agent.go

    const xdsHeaderPrefix = "XDS_HEADER_"
    
    func NewAgentOptions(proxy *ProxyArgs, cfg *meshconfig.ProxyConfig, sds istioagent.SDSServiceFactory) *istioagent.AgentOptions {
    	var insecureRegistries []string
    	if wasmInsecureRegistries != "" {
    		insecureRegistries = strings.Split(wasmInsecureRegistries, ",")
    	}
    	o := &istioagent.AgentOptions{
    		XDSRootCerts:             xdsRootCA,
    		CARootCerts:              caRootCA,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. pkg/wasm/options.go

    	PurgeInterval         time.Duration
    	ModuleExpiry          time.Duration
    	InsecureRegistries    sets.String
    	HTTPRequestTimeout    time.Duration
    	HTTPRequestMaxRetries int
    }
    
    func defaultOptions() Options {
    	return Options{
    		PurgeInterval:         DefaultPurgeInterval,
    		ModuleExpiry:          DefaultModuleExpiry,
    		InsecureRegistries:    sets.New[string](),
    		HTTPRequestTimeout:    DefaultHTTPRequestTimeout,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. pkg/wasm/cache.go

    }
    
    func (o cacheOptions) sanitize() cacheOptions {
    	ret := cacheOptions{
    		Options: defaultOptions(),
    	}
    	if o.InsecureRegistries != nil {
    		ret.InsecureRegistries = o.InsecureRegistries
    	}
    	ret.allowAllInsecureRegistries = ret.InsecureRegistries.Contains("*")
    
    	if o.PurgeInterval != 0 {
    		ret.PurgeInterval = o.PurgeInterval
    	}
    	if o.ModuleExpiry != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. pkg/wasm/cache_test.go

    	testWasmGet(url2, Always, "4", wantFilePath2, 3)
    }
    
    func TestAllInsecureServer(t *testing.T) {
    	tmpDir := t.TempDir()
    	options := defaultOptions()
    	options.InsecureRegistries = sets.New("*")
    	cache := NewLocalFileCache(tmpDir, options)
    	defer close(cache.stopChan)
    
    	// Set up a fake registry for OCI images with TLS Server
    	// Without "insecure" option, this should cause an error.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top