Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 123 for caFile (0.12 sec)

  1. pkg/kube/client_config.go

    	return &api.Cluster{
    		Server:                   restConfig.Host,
    		TLSServerName:            restConfig.ServerName,
    		InsecureSkipTLSVerify:    restConfig.Insecure,
    		CertificateAuthority:     restConfig.CAFile,
    		CertificateAuthorityData: restConfig.CAData,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 17 16:52:06 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/options/authentication.go

    		fs.StringVar(&o.OIDC.ClientID, oidcClientIDFlag, o.OIDC.ClientID,
    			"The client ID for the OpenID Connect client, must be set if oidc-issuer-url is set.")
    
    		fs.StringVar(&o.OIDC.CAFile, oidcCAFileFlag, o.OIDC.CAFile, ""+
    			"If set, the OpenID server's certificate will be verified by one of the authorities "+
    			"in the oidc-ca-file, otherwise the host's root CA set will be used.")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  3. pkg/scheduler/extender.go

    		cfg.TLSClientConfig.KeyFile = config.TLSConfig.KeyFile
    		cfg.TLSClientConfig.CAFile = config.TLSConfig.CAFile
    		cfg.TLSClientConfig.CertData = config.TLSConfig.CertData
    		cfg.TLSClientConfig.KeyData = config.TLSConfig.KeyData
    		cfg.TLSClientConfig.CAData = config.TLSConfig.CAData
    	}
    	if config.EnableHTTPS {
    		hasCA := len(cfg.CAFile) > 0 || len(cfg.CAData) > 0
    		if !hasCA {
    			cfg.Insecure = true
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. cluster/gce/gci/apiserver_etcd_test.go

    				APIServerKeyPath:  "APIServerKeyPath",
    				APIServerCertPath: "APIServerCertPath",
    			},
    			want: []string{
    				"--etcd-servers=https://127.0.0.1:2379",
    				"--etcd-cafile=CACertPath",
    				"--etcd-certfile=APIServerCertPath",
    				"--etcd-keyfile=APIServerKeyPath",
    			},
    		},
    		{
    			desc: "mTLS disabled",
    			want: []string{"--etcd-servers=http://127.0.0.1:2379"},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 18 11:14:24 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/preflight/checks.go

    func (evc ExternalEtcdVersionCheck) configRootCAs(config *tls.Config) (*tls.Config, error) {
    	var CACertPool *x509.CertPool
    	if evc.Etcd.External.CAFile != "" {
    		CACert, err := os.ReadFile(evc.Etcd.External.CAFile)
    		if err != nil {
    			return nil, errors.Wrapf(err, "couldn't load external etcd's server certificate %s", evc.Etcd.External.CAFile)
    		}
    		CACertPool = x509.NewCertPool()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    		if e.External.CertFile != "" && e.External.KeyFile != "" && e.External.CAFile == "" {
    			allErrs = append(allErrs, field.Invalid(externalPath, "", "setting .Etcd.External.CertFile and .Etcd.External.KeyFile requires .Etcd.External.CAFile"))
    		}
    
    		allErrs = append(allErrs, ValidateURLs(e.External.Endpoints, requireHTTPS, externalPath.Child("endpoints"))...)
    		if e.External.CAFile != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. 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)
  8. cmd/kubeadm/app/phases/controlplane/volumes_test.go

    					ReadOnly:  true,
    				},
    			},
    		},
    	}
    
    	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",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  9. pkg/scheduler/apis/config/v1/zz_generated.conversion.go

    	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))
    	out.CAData = *(*[]byte)(unsafe.Pointer(&in.CAData))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 18:47:23 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/upgrade/common_test.go

    			},
    			expectedBytes: []byte(`[upgrade/config] Configuration used:
    	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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top