Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 122 for certFile (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. staging/src/k8s.io/apiserver/pkg/util/webhook/authentication.go

    			Groups:   configAuthInfo.ImpersonateGroups,
    			Extra:    configAuthInfo.ImpersonateUserExtra,
    		}
    	}
    	if len(configAuthInfo.ClientCertificate) > 0 || len(configAuthInfo.ClientCertificateData) > 0 {
    		config.CertFile = configAuthInfo.ClientCertificate
    		config.CertData = configAuthInfo.ClientCertificateData
    		config.KeyFile = configAuthInfo.ClientKey
    		config.KeyData = configAuthInfo.ClientKeyData
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  10. pilot/cmd/pilot-discovery/app/cmd.go

    	c.PersistentFlags().StringVar(&serverArgs.ServerOptions.TLSOptions.CaCertFile, "caCertFile", "",
    		"File containing the x509 Server CA Certificate")
    	c.PersistentFlags().StringVar(&serverArgs.ServerOptions.TLSOptions.CertFile, "tlsCertFile", "",
    		"File containing the x509 Server Certificate")
    	c.PersistentFlags().StringVar(&serverArgs.ServerOptions.TLSOptions.KeyFile, "tlsKeyFile", "",
    		"File containing the x509 private key matching --tlsCertFile")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top