mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Merge pull request #98839 from Mattias-/kubeadm-fix-config-print-placeholder
kubeadm: Fix placeholder in config print help text
This commit is contained in:
commit
f266f60da9
@ -119,7 +119,7 @@ func newCmdConfigPrintActionDefaults(out io.Writer, action string, configBytesPr
|
|||||||
|
|
||||||
Note that sensitive values like the Bootstrap Token fields are replaced with placeholder values like %q in order to pass validation but
|
Note that sensitive values like the Bootstrap Token fields are replaced with placeholder values like %q in order to pass validation but
|
||||||
not perform the real computation for creating a token.
|
not perform the real computation for creating a token.
|
||||||
`), action, action, configutil.PlaceholderToken),
|
`), action, action, configutil.PlaceholderToken.Token.String()),
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
groups, err := mapLegacyKindsToGroups(kinds)
|
groups, err := mapLegacyKindsToGroups(kinds)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user