Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for caBundle (0.21 sec)

  1. istioctl/pkg/tag/generate.go

    	if rev == DefaultRevisionName {
    		rev = ""
    	}
    
    	var injectionURL, caBundle, path string
    	found := false
    	for _, w := range wh.Webhooks {
    		if strings.HasSuffix(w.Name, istioInjectionWebhookSuffix) {
    			found = true
    			caBundle = string(w.ClientConfig.CABundle)
    			if w.ClientConfig.URL != nil {
    				injectionURL = *w.ClientConfig.URL
    			}
    			if w.ClientConfig.Service != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/generate_test.go

    						Namespace: "default",
    						Name:      "istiod",
    					},
    					CABundle: []byte("ca"),
    				},
    			},
    			{
    				Name: fmt.Sprintf("object.%s", istioInjectionWebhookSuffix),
    				ClientConfig: admitv1.WebhookClientConfig{
    					Service: &admitv1.ServiceReference{
    						Namespace: "default",
    						Name:      "istiod",
    					},
    					CABundle: []byte("ca"),
    				},
    			},
    		},
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  3. istioctl/pkg/kubeinject/kubeinject.go

    	cc := e.clientConfig
    	if cc == nil {
    		return nil, nil
    	}
    	var address string
    	if cc.URL != nil {
    		address = *cc.URL
    	}
    	var certPool *x509.CertPool
    	if len(cc.CABundle) > 0 {
    		certPool = x509.NewCertPool()
    		certPool.AppendCertsFromPEM(cc.CABundle)
    	} else {
    		var err error
    		certPool, err = x509.SystemCertPool()
    		if err != nil {
    			return nil, err
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
Back to top