Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 51 for CertificatesDir (0.2 sec)

  1. cmd/kubeadm/app/phases/certs/renewal/manager_test.go

    	if err := pkiutil.WriteCertAndKey(etcdDir, "ca", testCACert, testCAKey); err != nil {
    		t.Fatalf("couldn't write out CA certificate to %s", etcdDir)
    	}
    
    	cfg := &kubeadmapi.ClusterConfiguration{
    		CertificatesDir: dir,
    		CertificateValidityPeriod: &metav1.Duration{
    			Duration: time.Hour * 10,
    		},
    	}
    	rm, err := NewManager(cfg, dir)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/componentconfigs/fakeconfig_test.go

    		yaml string
    		obj  kubeadmapiv1.ClusterConfiguration
    	}{
    		yaml: dedent.Dedent(fmt.Sprintf(`
    			apiServer:
    			  timeoutForControlPlane: 4m
    			apiVersion: %s
    			certificatesDir: /etc/kubernetes/pki
    			clusterName: LeCluster
    			controllerManager: {}
    			etcd:
    			  local:
    			    dataDir: /var/lib/etcd
    			imageRepository: registry.k8s.io
    			kind: ClusterConfiguration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:36:00 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    	// DNS defines the options for the DNS add-on installed in the cluster.
    	// +optional
    	DNS DNS `json:"dns,omitempty"`
    
    	// CertificatesDir specifies where to store or look for all required certificates.
    	// +optional
    	CertificatesDir string `json:"certificatesDir,omitempty"`
    
    	// ImageRepository sets the container registry to pull images from.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/types.go

    	DNS DNS
    
    	// Proxy defines the options for the proxy add-on installed in the cluster.
    	Proxy Proxy
    
    	// CertificatesDir specifies where to store or look for all required certificates.
    	CertificatesDir string
    
    	// ImageRepository sets the container registry to pull images from.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    	allErrs = append(allErrs, ValidateScheduler(&c.Scheduler, field.NewPath("scheduler"))...)
    	allErrs = append(allErrs, ValidateAbsolutePath(c.CertificatesDir, field.NewPath("certificatesDir"))...)
    	allErrs = append(allErrs, ValidateFeatureGates(c.FeatureGates, field.NewPath("featureGates"))...)
    	allErrs = append(allErrs, ValidateHostPort(c.ControlPlaneEndpoint, field.NewPath("controlPlaneEndpoint"))...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/componentconfigs/kubelet.go

    	}
    
    	// Require all clients to the kubelet API to have client certs signed by the cluster CA
    	clientCAFile := filepath.Join(cfg.CertificatesDir, constants.CACertName)
    	if kc.config.Authentication.X509.ClientCAFile == "" {
    		kc.config.Authentication.X509.ClientCAFile = clientCAFile
    	} else if kc.config.Authentication.X509.ClientCAFile != clientCAFile {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/init_test.go

    		{
    			name: "Pass with config from file",
    			flags: map[string]string{
    				options.CfgPath: configFilePath,
    			},
    			validate: func(t *testing.T, data *initData) {
    				validData := &initData{
    					certificatesDir:       kubeadmapiv1.DefaultCertificatesDir,
    					kubeconfigPath:        constants.GetAdminKubeConfigPath(),
    					kubeconfigDir:         constants.KubernetesDir,
    					ignorePreflightErrors: sets.New("c", "d"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go

    //	    address: "10.100.0.1"
    //	  extraVolumes:
    //	  - name: "some-volume"
    //	    hostPath: "/etc/some-path"
    //	    mountPath: "/etc/some-pod-path"
    //	    readOnly: false
    //	    pathType: File
    //	certificatesDir: "/etc/kubernetes/pki"
    //	imageRepository: "registry.k8s.io"
    //	clusterName: "example-cluster"
    //	---
    //	apiVersion: kubelet.config.k8s.io/v1beta1
    //	kind: KubeletConfiguration
    //	# kubelet specific options here
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/staticpods.go

    	}
    
    	// Initialize the new etcd client if it wasn't pre-initialized
    	if newEtcdClient == nil {
    		etcdClient, err := etcdutil.NewFromCluster(client, cfg.CertificatesDir)
    		if err != nil {
    			return true, errors.Wrap(err, "fatal error creating etcd client")
    		}
    		newEtcdClient = etcdClient
    	}
    
    	// Checking health state of etcd after the upgrade
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/config/common_test.go

    			oldCfg: dedent.Dedent(fmt.Sprintf(`
    			apiVersion: %s
    			kind: ResetConfiguration
    			force: true
    			cleanupTmpDir: true
    			criSocket: unix:///var/run/containerd/containerd.sock
    			certificatesDir: /etc/kubernetes/pki
    			`, gvExperimental)),
    			expectedKinds: []string{
    				constants.ResetConfigurationKind,
    			},
    			allowExperimental: true,
    			expectErr:         false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top