From 50f18d1dee13aec00d87ba0644d34ce4c440ef19 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Wed, 3 Jul 2024 09:53:45 +0800 Subject: [PATCH] make the clusteradm join output msg more clear (#444) Signed-off-by: Wei Liu --- pkg/cmd/join/exec.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cmd/join/exec.go b/pkg/cmd/join/exec.go index d4f58818..e7fe83d7 100644 --- a/pkg/cmd/join/exec.go +++ b/pkg/cmd/join/exec.go @@ -357,6 +357,7 @@ func (o *Options) run() error { fmt.Fprintf(o.Streams.Out, "Please log onto the hub cluster and run the following command:\n\n"+ " %s accept --clusters %s\n\n", helpers.GetExampleHeader(), o.values.ClusterName) + fmt.Fprintf(o.Streams.Out, "This is not needed when the ManagedClusterAutoApproval feature is enabled\n") return nil }