- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 64 for certificatesDir (0.28 sec)
-
cmd/kubeadm/app/phases/controlplane/volumes.go
// TODO: Always mount the K8s Certificates directory to a static path inside of the container mounts.NewHostPathMount(kubeadmconstants.KubeAPIServer, kubeadmconstants.KubeCertificatesVolumeName, cfg.CertificatesDir, cfg.CertificatesDir, true, &hostPathDirectoryOrCreate) // Read-only mount for the ca certs (/etc/ssl/certs) directory
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 09:33:18 UTC 2024 - 11.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/kubeconfig.go
} // if dryrunning, reads certificates from a temporary folder (and defer restore to the path originally specified by the user) cfg := data.Cfg() cfg.CertificatesDir = data.CertificateWriteDir() defer func() { cfg.CertificatesDir = data.CertificateDir() }() // creates the KubeConfig file (or use existing) return kubeconfigphase.CreateKubeConfigFile(kubeConfigFileName, data.KubeConfigDir(), data.Cfg()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 26 04:36:03 UTC 2023 - 6K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/certs.go
internalcfg.ClusterConfiguration.CertificatesDir = cfg.CertificatesDir } return internalcfg, nil } printer.Printf("[%s] Error reading configuration from the Cluster. Falling back to default configuration\n\n", logPrefix) } // Read config from --config if provided. Otherwise, use the default configuration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 19.4K bytes - Viewed (0) -
cmd/kubeadm/app/phases/controlplane/manifests_test.go
defer os.RemoveAll(tmpdir) test.cfg.CertificatesDir = tmpdir if err := certs.CreatePKIAssets(test.cfg); err != nil { t.Errorf("failed creating pki assets: %v", err) } // delete ca.key and front-proxy-ca.key if test.caKeyPresent is false if !test.caKeyPresent { if err := os.Remove(filepath.Join(test.cfg.CertificatesDir, kubeadmconstants.CAKeyName)); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Mar 03 14:43:47 UTC 2024 - 48.5K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/initconfiguration_test.go
}, []byte(constants.YAMLDocumentSeparator)), validate: func(t *testing.T, cfg *kubeadm.InitConfiguration) { if cfg.ClusterConfiguration.CertificatesDir != certDir { t.Errorf("CertificatesDir from ClusterConfiguration holds the wrong value, Expected: %v. Actual: %v", certDir, cfg.ClusterConfiguration.CertificatesDir) } }, }, { name: "v1beta3.full", fileContents: bytes.Join([][]byte{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 13 09:17:03 UTC 2023 - 5.2K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certlist.go
} // Try and load a CA Key caKey, err = pkiutil.TryLoadKeyFromDisk(ic.CertificatesDir, ca.BaseName) if err != nil { // If there's no CA key, make sure every certificate exists. for _, leaf := range leaves { cl := certKeyLocation{ pkiDir: ic.CertificatesDir, baseName: leaf.BaseName, uxName: leaf.Name, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 15.8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/certs_test.go
// auto-detection of config values at runtime. var kubeadmConfig = fmt.Sprintf(` apiVersion: %[1]s kind: ClusterConfiguration certificatesDir: %s kubernetesVersion: %s`, kubeadmapiv1.SchemeGroupVersion.String(), cfg.CertificatesDir, kubeadmconstants.MinimumControlPlaneVersion.String()) // Write the minimal kubeadm config to a file customConfigPath := kdir + "/kubeadm.conf"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 21 13:26:12 UTC 2024 - 20.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go
ControlPlaneEndpoint: "api.k8s.io", CertificatesDir: pkidir, }, NodeRegistration: kubeadmapi.NodeRegistrationOptions{Name: "valid-node-name"}, }, { LocalAPIEndpoint: kubeadmapi.APIEndpoint{AdvertiseAddress: "1.2.3.4", BindPort: 1234}, ClusterConfiguration: kubeadmapi.ClusterConfiguration{ ControlPlaneEndpoint: "api.k8s.io:4321", CertificatesDir: pkidir, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:04:18 UTC 2024 - 39.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/kubeletfinalize.go
InheritFlags: []string{options.CfgPath, options.CertificatesDir, options.DryRun}, Example: kubeletFinalizePhaseExample, RunAllSiblings: true, }, { Name: "enable-client-cert-rotation", Short: "Enable kubelet client certificate rotation", InheritFlags: []string{options.CfgPath, options.CertificatesDir, options.DryRun}, Run: runKubeletFinalizeEnableClientCertRotation,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 10:54:51 UTC 2024 - 6.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/copycerts/copycerts_test.go
initConfiguration.ClusterConfiguration.CertificatesDir = tmpdir // Temporary directory where certificates will be downloaded to targetTmpdir := testutil.SetupTempDir(t) defer os.RemoveAll(targetTmpdir) initForDownloadConfiguration := testutil.GetDefaultInternalConfig(t) initForDownloadConfiguration.ClusterConfiguration.CertificatesDir = targetTmpdir
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 01 00:15:30 UTC 2023 - 9.1K bytes - Viewed (0)