Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 119 for certFiles (0.12 sec)

  1. pkg/test/framework/components/echo/calloptions.go

    	// (without proxy) from naked client to test certificates issued by custom CA instead of the Istio self-signed CA.
    	Cert, Key, CaCert string
    
    	// Use the custom certificates file to make the call.
    	CertFile, KeyFile, CaCertFile string
    
    	// Skip verify peer's certificate.
    	InsecureSkipVerify bool
    
    	Alpn       []string
    	ServerName string
    }
    
    type HBONE struct {
    	Address string
    	Headers http.Header
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 13K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/controlplane/volumes_test.go

    				},
    			},
    		},
    	}
    
    	for _, rt := range tests {
    		t.Run(rt.name, func(t *testing.T) {
    			actualVol, actualVolMount := getEtcdCertVolumes(&kubeadmapi.ExternalEtcd{
    				CAFile:   rt.ca,
    				CertFile: rt.cert,
    				KeyFile:  rt.key,
    			}, k8sCertificatesDir)
    			if !reflect.DeepEqual(actualVol, rt.vol) {
    				t.Errorf(
    					"failed getEtcdCertVolumes:\n\texpected: %v\n\t  actual: %v",
    					rt.vol,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. internal/kms/config.go

    		} else {
    			loadX509KeyPair := func(certFile, keyFile string) (tls.Certificate, error) {
    				// Manually load the certificate and private key into memory.
    				// We need to check whether the private key is encrypted, and
    				// if so, decrypt it using the user-provided password.
    				certBytes, err := os.ReadFile(certFile)
    				if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 14:31:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    			name: "either both or none of .Etcd.External.CertFile and .Etcd.External.KeyFile must be set",
    			etcd: &kubeadmapi.Etcd{
    				External: &kubeadmapi.ExternalEtcd{
    					Endpoints: []string{"https://external.etcd1:2379", "https://external.etcd2:2379"},
    					CertFile:  "/some/file.crt",
    				},
    			},
    			expectedErrors: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  5. pkg/scheduler/apis/config/v1/zz_generated.conversion.go

    func autoConvert_v1_ExtenderTLSConfig_To_config_ExtenderTLSConfig(in *v1.ExtenderTLSConfig, out *config.ExtenderTLSConfig, s conversion.Scope) error {
    	out.Insecure = in.Insecure
    	out.ServerName = in.ServerName
    	out.CertFile = in.CertFile
    	out.KeyFile = in.KeyFile
    	out.CAFile = in.CAFile
    	out.CertData = *(*[]byte)(unsafe.Pointer(&in.CertData))
    	out.KeyData = *(*[]byte)(unsafe.Pointer(&in.KeyData))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 18:47:23 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  6. pkg/kubelet/certificate/transport.go

    		DialContext:         d.DialContext,
    	})
    
    	// Zero out all existing TLS options since our new transport enforces them.
    	clientConfig.CertData = nil
    	clientConfig.KeyData = nil
    	clientConfig.CertFile = ""
    	clientConfig.KeyFile = ""
    	clientConfig.CAData = nil
    	clientConfig.CAFile = ""
    	clientConfig.Insecure = false
    	clientConfig.NextProtos = nil
    
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 08 13:57:45 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  7. pkg/scheduler/apis/config/types.go

    	ServerName string
    
    	// Server requires TLS client certificate authentication
    	CertFile string
    	// Server requires TLS client certificate authentication
    	KeyFile string
    	// Trusted root certificates for server
    	CAFile string
    
    	// CertData holds PEM-encoded bytes (typically read from a client certificate file).
    	// CertData takes precedence over CertFile
    	CertData []byte
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 18:47:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. cmd/kube-apiserver/app/testing/testserver.go

    		}
    		return true, nil
    	})
    	if err != nil {
    		return result, fmt.Errorf("failed to wait for default namespace to be created: %v", err)
    	}
    
    	tlsInfo := transport.TLSInfo{
    		CertFile:      storageConfig.Transport.CertFile,
    		KeyFile:       storageConfig.Transport.KeyFile,
    		TrustedCAFile: storageConfig.Transport.TrustedCAFile,
    	}
    	tlsConfig, err := tlsInfo.ClientConfig()
    	if err != nil {
    		return result, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/test/integration/objectmeta_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	tlsInfo := transport.TLSInfo{
    		CertFile:      restOptions.StorageConfig.Transport.CertFile,
    		KeyFile:       restOptions.StorageConfig.Transport.KeyFile,
    		TrustedCAFile: restOptions.StorageConfig.Transport.TrustedCAFile,
    	}
    	tlsConfig, err := tlsInfo.ClientConfig()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 19K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/test/integration/pruning_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	tlsInfo := transport.TLSInfo{
    		CertFile:      restOptions.StorageConfig.Transport.CertFile,
    		KeyFile:       restOptions.StorageConfig.Transport.KeyFile,
    		TrustedCAFile: restOptions.StorageConfig.Transport.TrustedCAFile,
    	}
    	tlsConfig, err := tlsInfo.ClientConfig()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top