Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 122 for certFile (0.25 sec)

  1. cmd/kubeadm/app/cmd/upgrade/common_test.go

    	apiServer: {}
    	apiVersion: ` + kubeadmapiv1.SchemeGroupVersion.String() + `
    	controllerManager: {}
    	dns: {}
    	etcd:
    	  external:
    	    caFile: ""
    	    certFile: ""
    	    endpoints:
    	    - https://one-etcd-instance:2379
    	    keyFile: ""
    	kind: ClusterConfiguration
    	kubernetesVersion: v1.7.1
    	networking:
    	  serviceSubnet: 10.96.0.1/12
    	scheduler: {}
    `),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/apis/kubeadm/v1beta3/zz_generated.conversion.go

    func autoConvert_v1beta3_ExternalEtcd_To_kubeadm_ExternalEtcd(in *ExternalEtcd, out *kubeadm.ExternalEtcd, s conversion.Scope) error {
    	out.Endpoints = *(*[]string)(unsafe.Pointer(&in.Endpoints))
    	out.CAFile = in.CAFile
    	out.CertFile = in.CertFile
    	out.KeyFile = in.KeyFile
    	return nil
    }
    
    // Convert_v1beta3_ExternalEtcd_To_kubeadm_ExternalEtcd is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. src/cmd/go/script_test.go

    	testenv.SkipIfShortAndSlow(t)
    
    	srv, err := vcstest.NewServer()
    	if err != nil {
    		t.Fatal(err)
    	}
    	t.Cleanup(func() {
    		if err := srv.Close(); err != nil {
    			t.Fatal(err)
    		}
    	})
    	certFile, err := srv.WriteCertificateFile()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	StartProxy()
    
    	var (
    		ctx         = context.Background()
    		gracePeriod = 100 * time.Millisecond
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. cmd/common-main.go

    				continue
    			}
    		}
    
    		var (
    			certFile = filepath.Join(root.Name(), file.Name(), publicCertFile)
    			keyFile  = filepath.Join(root.Name(), file.Name(), privateKeyFile)
    		)
    		if !isFile(certFile) || !isFile(keyFile) {
    			continue
    		}
    		if err = manager.AddCertificate(certFile, keyFile); err != nil {
    			err = fmt.Errorf("Unable to load TLS certificate '%s,%s': %w", certFile, keyFile, err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  5. src/crypto/tls/tls.go

    // discarded. This behavior can be re-enabled by setting "x509keypairleaf=0"
    // in the GODEBUG environment variable.
    func LoadX509KeyPair(certFile, keyFile string) (Certificate, error) {
    	certPEMBlock, err := os.ReadFile(certFile)
    	if err != nil {
    		return Certificate{}, err
    	}
    	keyPEMBlock, err := os.ReadFile(keyFile)
    	if err != nil {
    		return Certificate{}, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. pkg/scheduler/extender.go

    	var cfg restclient.Config
    	if config.TLSConfig != nil {
    		cfg.TLSClientConfig.Insecure = config.TLSConfig.Insecure
    		cfg.TLSClientConfig.ServerName = config.TLSConfig.ServerName
    		cfg.TLSClientConfig.CertFile = config.TLSConfig.CertFile
    		cfg.TLSClientConfig.KeyFile = config.TLSConfig.KeyFile
    		cfg.TLSClientConfig.CAFile = config.TLSConfig.CAFile
    		cfg.TLSClientConfig.CertData = config.TLSConfig.CertData
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    	// Required if using a TLS connection.
    	CAFile string `json:"caFile"`
    
    	// CertFile is an SSL certification file used to secure etcd communication.
    	// Required if using a TLS connection.
    	CertFile string `json:"certFile"`
    
    	// KeyFile is an SSL key file used to secure etcd communication.
    	// Required if using a TLS connection.
    	KeyFile string `json:"keyFile"`
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/options.go

    	InjectionDirectory string
    }
    
    // TLSOptions is optional TLS parameters for Istiod server.
    type TLSOptions struct {
    	// CaCertFile and related are set using CLI flags.
    	CaCertFile      string
    	CertFile        string
    	KeyFile         string
    	TLSCipherSuites []string
    	CipherSuits     []uint16 // This is the parsed cipher suites
    }
    
    var (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top