Merge pull request #98839 from Mattias-/kubeadm-fix-config-print-placeholder

kubeadm: Fix placeholder in config print help text
This commit is contained in:
Kubernetes Prow Robot
2021-02-08 11:54:43 -08:00
committed by GitHub

View File

@@ -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
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 {
groups, err := mapLegacyKindsToGroups(kinds)
if err != nil {