- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for SkipTokenPrint (0.74 sec)
-
cmd/kubeadm/app/cmd/util/join.go
func GetJoinWorkerCommand(kubeConfigFile, token string, skipTokenPrint bool) (string, error) { return getJoinCommand(kubeConfigFile, token, "", false, skipTokenPrint, false) } // GetJoinControlPlaneCommand returns the kubeadm join command for a given token and // Kubernetes cluster (the current cluster in the kubeconfig file) func GetJoinControlPlaneCommand(kubeConfigFile, token, key string, skipTokenPrint, skipCertificateKeyPrint bool) (string, error) {
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
return d.cfg } // DryRun returns the DryRun flag. func (d *initData) DryRun() bool { return d.dryRun } // SkipTokenPrint returns the SkipTokenPrint flag. func (d *initData) SkipTokenPrint() bool { return d.skipTokenPrint } // IgnorePreflightErrors returns the IgnorePreflightErrors flag. func (d *initData) IgnorePreflightErrors() sets.Set[string] { return d.ignorePreflightErrors
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/showjoincommand.go
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 } ctx := map[string]interface{}{
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/phases/init/data_test.go
func (t *testInitData) Cfg() *kubeadmapi.InitConfiguration { return nil } func (t *testInitData) DryRun() bool { return false } func (t *testInitData) SkipTokenPrint() bool { return false } func (t *testInitData) IgnorePreflightErrors() sets.Set[string] { 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/bootstraptoken.go
Example: bootstrapTokenExamples, Long: bootstrapTokenLongDesc, InheritFlags: []string{ options.CfgPath, options.KubeconfigPath, options.SkipTokenPrint, options.DryRun, }, Run: runBootstrapToken, } } func runBootstrapToken(c workflow.RunData) error { data, ok := c.(InitData) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 11 08:02:50 UTC 2022 - 4.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/constant.go
SchedulerExtraArgs = "scheduler-extra-args" // SkipTokenPrint flag instructs kubeadm to skip printing of the default bootstrap token generated by 'kubeadm init'. SkipTokenPrint = "skip-token-print" // TokenStr flags sets both the discovery-token and the tls-bootstrap-token when those values are not provided TokenStr = "token"
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/data.go
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 KubeConfigPath() string ManifestDir() string KubeletDir() 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/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)