- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for certificatesDir (0.38 sec)
-
cmd/kubeadm/app/util/staticpod/utils_linux.go
saPublicKeyFile := filepath.Join(cfg.CertificatesDir, kubeadmconstants.ServiceAccountPublicKeyName) if err := updatePathOwnerAndPermissions(saPublicKeyFile, *runAsUser, *runAsGroup, 0600); err != nil { return err } saPrivateKeyFile := filepath.Join(cfg.CertificatesDir, kubeadmconstants.ServiceAccountPrivateKeyName)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 14:41:12 UTC 2023 - 8.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/controlplaneprepare.go
if err != nil { return err } fmt.Printf("[certs] Using certificateDir folder %q\n", cfg.CertificatesDir) // if dryrunning, write certificates files to a temporary folder (and defer restore to the path originally specified by the user) certsDir := cfg.CertificatesDir cfg.CertificatesDir = data.CertificateWriteDir() defer func() { cfg.CertificatesDir = certsDir }() // Generate missing certificates (if any)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:46:34 UTC 2024 - 9.5K bytes - Viewed (0) -
cmd/kubeadm/app/util/staticpod/utils_linux_test.go
wantUpdateFiles := map[string]ownerAndPermissions{ filepath.Join(cfg.CertificatesDir, kubeadmconstants.ServiceAccountPublicKeyName): {uid: runAsUser, gid: runAsGroup, permissions: 0600}, filepath.Join(cfg.CertificatesDir, kubeadmconstants.ServiceAccountPrivateKeyName): {uid: 0, gid: supGroup, permissions: 0640},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 14:41:12 UTC 2023 - 7.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/certs_test.go
func (t *testCertsData) ExternalCA() bool { return false } func (t *testCertsData) CertificateDir() string { return t.cfg.CertificatesDir } func (t *testCertsData) CertificateWriteDir() string { return t.cfg.CertificatesDir } func TestCreateSparseCerts(t *testing.T) { for _, test := range certstestutil.GetSparseCertTestCases(t) { t.Run(test.Name, func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 17 14:40:46 UTC 2021 - 2.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/reset_test.go
flags: map[string]string{ options.CertificatesDir: "/tmp", options.NodeCRISocket: constants.CRISocketCRIO, options.IgnorePreflightErrors: "all", options.ForceReset: "true", options.DryRun: "true", options.CleanupTmpDir: "true", }, data: &resetData{ certificatesDir: "/tmp", criSocketPath: constants.CRISocketCRIO,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 13:42:50 UTC 2024 - 8.5K 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/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/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) -
cmd/kubeadm/app/phases/certs/doc.go
.Networking.ServiceSubnet is needed for knowing which IP the internal Kubernetes service is going to point to .CertificatesDir is required for knowing where all certificates should be stored OUTPUTS: Files to .CertificatesDir (default /etc/kubernetes/pki): - ca.crt - ca.key - apiserver.crt - apiserver.key - apiserver-kubelet-client.crt
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 02 09:38:56 UTC 2018 - 1.9K bytes - Viewed (0)