- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for SkipCertificateKeyPrint (0.47 sec)
-
cmd/kubeadm/app/cmd/util/join.go
func GetJoinControlPlaneCommand(kubeConfigFile, token, key string, skipTokenPrint, skipCertificateKeyPrint bool) (string, error) { return getJoinCommand(kubeConfigFile, token, key, true, skipTokenPrint, skipCertificateKeyPrint) } func getJoinCommand(kubeConfigFile, token, key string, controlPlane, skipTokenPrint, skipCertificateKeyPrint bool) (string, error) { // load the kubeconfig file to get the CA certificate and endpoint
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 3.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/init.go
// SetCertificateKey set the key used to encrypt the certs. func (d *initData) SetCertificateKey(key string) { d.cfg.CertificateKey = key } // SkipCertificateKeyPrint returns the skipCertificateKeyPrint flag. func (d *initData) SkipCertificateKeyPrint() bool { return d.skipCertificateKeyPrint } // Cfg returns initConfiguration. func (d *initData) Cfg() *kubeadmapi.InitConfiguration { return d.cfg }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 17 03:37:05 UTC 2024 - 24.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/uploadcerts.go
Run: runUploadCerts, InheritFlags: []string{ options.CfgPath, options.KubeconfigPath, options.UploadCerts, options.CertificateKey, options.SkipCertificateKeyPrint, options.DryRun, }, } } func runUploadCerts(c workflow.RunData) error { data, ok := c.(InitData) if !ok { return errors.New("upload-certs phase invoked with an invalid data struct") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 14 04:00:49 UTC 2022 - 2.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/data_test.go
func (t *testInitData) CertificateKey() string { return "" } func (t *testInitData) SetCertificateKey(key string) {} func (t *testInitData) SkipCertificateKeyPrint() bool { return false } func (t *testInitData) Cfg() *kubeadmapi.InitConfiguration { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 06 10:43:20 UTC 2023 - 2.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/data.go
// The "initData" type from "cmd/init.go" must satisfy this interface. type InitData interface { UploadCerts() bool CertificateKey() string SetCertificateKey(key string) SkipCertificateKeyPrint() bool Cfg() *kubeadmapi.InitConfiguration DryRun() bool SkipTokenPrint() bool IgnorePreflightErrors() sets.Set[string] CertificateWriteDir() string CertificateDir() string KubeConfigDir() string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 06 10:43:20 UTC 2023 - 1.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/constant.go
// CertificateKey flag sets the key used to encrypt and decrypt certificate secrets CertificateKey = "certificate-key" // SkipCertificateKeyPrint flag instructs kubeadm to skip printing certificate key used to encrypt certs by 'kubeadm init'. SkipCertificateKeyPrint = "skip-certificate-key-print" // ForceReset flag instructs kubeadm to reset the node without prompting for confirmation ForceReset = "force"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 6.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/showjoincommand.go
func printJoinCommand(out io.Writer, adminKubeConfigPath, token string, i InitData) error { joinControlPlaneCommand, err := cmdutil.GetJoinControlPlaneCommand(adminKubeConfigPath, token, i.CertificateKey(), i.SkipTokenPrint(), i.SkipCertificateKeyPrint()) if err != nil { return err } joinWorkerCommand, err := cmdutil.GetJoinWorkerCommand(adminKubeConfigPath, token, i.SkipTokenPrint()) if err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 26 15:35:58 UTC 2022 - 3.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/token.go
// otherwise, just print the token if printJoinCommand { skipTokenPrint := false if certificateKey != "" { skipCertificateKeyPrint := false joinCommand, err := cmdutil.GetJoinControlPlaneCommand(kubeConfigFile, internalcfg.BootstrapTokens[0].Token.String(), certificateKey, skipTokenPrint, skipCertificateKeyPrint) if err != nil { return errors.Wrap(err, "failed to get join command") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 05:47:48 UTC 2024 - 15.9K bytes - Viewed (0)