Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for caFile (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/tls_test.go

    	if err := ioutil.WriteFile(keyFile, []byte(testingcert.KeyFileContent), 0644); err != nil {
    		t.Fatal(err)
    	}
    	caFile = path.Join(tempDir, "ca.pem")
    	if err := ioutil.WriteFile(caFile, []byte(testingcert.CAFileContent), 0644); err != nil {
    		t.Fatal(err)
    	}
    	return certFile, keyFile, caFile
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go

    		flags.BoolVar(f.Insecure, flagInsecure, *f.Insecure, "If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure")
    	}
    	if f.CAFile != nil {
    		flags.StringVar(f.CAFile, flagCAFile, *f.CAFile, "Path to a cert file for the certificate authority")
    	}
    	if f.Timeout != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/options/security.go

    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/jwt"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/security"
    	"istio.io/istio/security/pkg/credentialfetcher"
    	"istio.io/istio/security/pkg/nodeagent/cafile"
    )
    
    func NewSecurityOptions(proxyConfig *meshconfig.ProxyConfig, stsPort int, tokenManagerPlugin string) (*security.Options, error) {
    	o := &security.Options{
    		CAEndpoint:                     caEndpointEnv,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/controlplane/manifests.go

    		// Use any user supplied etcd certificates
    		if cfg.Etcd.External.CAFile != "" {
    			defaultArguments = kubeadmapi.SetArgValues(defaultArguments, "etcd-cafile", cfg.Etcd.External.CAFile, 1)
    		}
    		if cfg.Etcd.External.CertFile != "" && cfg.Etcd.External.KeyFile != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. cni/pkg/install/kubeconfig.go

    	}
    
    	if cfg.SkipTLSVerify {
    		// User explicitly opted into insecure.
    		cluster.InsecureSkipTLSVerify = true
    	} else {
    		caFile := model.GetOrDefault(cfg.KubeCAFile, cfg.K8sServiceAccountPath+"/ca.crt")
    		caContents, err := os.ReadFile(caFile)
    		if err != nil {
    			return kubeconfig{}, err
    		}
    		cluster.CertificateAuthorityData = caContents
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. cmd/kube-apiserver/app/options/options.go

    		"Path to a client key file for TLS.")
    
    	fs.StringVar(&s.KubeletConfig.TLSClientConfig.CAFile, "kubelet-certificate-authority", s.KubeletConfig.TLSClientConfig.CAFile,
    		"Path to a cert file for the certificate authority.")
    
    	fs.IntVar(&s.MasterCount, "apiserver-count", s.MasterCount,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/controlplane/manifests_test.go

    				"--authorization-mode=Node,RBAC",
    				"--advertise-address=1.2.3.4",
    				fmt.Sprintf("--etcd-servers=https://127.0.0.1:%d", kubeadmconstants.EtcdListenClientPort),
    				"--etcd-cafile=" + filepath.Join(testCertsDir, "etcd/ca.crt"),
    				"--etcd-certfile=" + filepath.Join(testCertsDir, "apiserver-etcd-client.crt"),
    				"--etcd-keyfile=" + filepath.Join(testCertsDir, "apiserver-etcd-client.key"),
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  8. pkg/controlplane/apiserver/peer.go

    	}
    	// create proxy client config
    	clientConfig := &transport.Config{
    		TLS: transport.TLSConfig{
    			Insecure:   false,
    			CertFile:   proxyClientCertFile,
    			KeyFile:    proxyClientKeyFile,
    			CAFile:     peerCAFile,
    			ServerName: "kubernetes.default.svc",
    		}}
    
    	// build proxy transport
    	proxyRoundTripper, transportBuildingError := transport.New(clientConfig)
    	if transportBuildingError != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 08:15:02 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. pilot/pkg/bootstrap/server_test.go

    		t.Fatalf("WriteFile(%v) failed: %v", keyFile, err)
    	}
    
    	if err := os.WriteFile(caFile, testcerts.CACert, 0o644); err != nil { // nolint: vetshadow
    		t.Fatalf("WriteFile(%v) failed: %v", caFile, err)
    	}
    
    	tlsOptions := TLSOptions{
    		CertFile:   certFile,
    		KeyFile:    keyFile,
    		CaCertFile: caFile,
    	}
    
    	// setup cert watches.
    	if err := s.initFileCertificateWatches(tlsOptions); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. cmd/kube-apiserver/app/options/options_test.go

    		"--enable-logs-handler=false",
    		"--endpoint-reconciler-type=" + string(reconcilers.LeaseEndpointReconcilerType),
    		"--etcd-keyfile=/var/run/kubernetes/etcd.key",
    		"--etcd-certfile=/var/run/kubernetes/etcdce.crt",
    		"--etcd-cafile=/var/run/kubernetes/etcdca.crt",
    		"--http2-max-streams-per-connection=42",
    		"--kubelet-read-only-port=10255",
    		"--kubelet-timeout=5s",
    		"--kubelet-client-certificate=/var/run/kubernetes/ceserver.crt",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top