We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a987d5 + 477c41f commit df8e3eeCopy full SHA for df8e3ee
cmd/kubeadm/app/cmd/alpha/alpha.go
@@ -30,7 +30,15 @@ func NewCmdAlpha(in io.Reader, out io.Writer) *cobra.Command {
30
}
31
32
cmd.AddCommand(newCmdKubeConfigUtility(out))
33
- cmd.AddCommand(NewCmdSelfhosting(in))
+
34
+ const shDeprecatedMessage = "self-hosting support in kubeadm is deprecated " +
35
+ "and will be removed in a future release"
36
+ shCommand := NewCmdSelfhosting(in)
37
+ shCommand.Deprecated = shDeprecatedMessage
38
+ for _, cmd := range shCommand.Commands() {
39
+ cmd.Deprecated = shDeprecatedMessage
40
+ }
41
+ cmd.AddCommand(shCommand)
42
43
certsCommand := NewCmdCertsUtility(out)
44
deprecateCertsCommand(certsCommand)
0 commit comments