Skip to content

Commit 1bf0efd

Browse files
authored
Merge pull request kubernetes-sigs#2445 from prankul88/deprecation-msg
📖 Remove deprecation message clusterctl
2 parents fd95764 + 82c113b commit 1bf0efd

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

cmd/clusterctl/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
"k8s.io/klog"
2727
)
2828

29-
const deprecationMsg string = "NOTICE: clusterctl has been deprecated in v1alpha2 and will be removed in a future version."
29+
const deprecationMsg string = "NOTICE: This utility, in its current form will be superseded by `clusterctl v2`. For more information see https://github.com/kubernetes-sigs/cluster-api/blob/master/docs/proposals/20191016-clusterctl-redesign.md"
3030

3131
var helpTemplate = fmt.Sprintf(`%s
3232
{{with (or .Long .Short)}}{{. | trimTrailingWhitespaces}}

cmd/clusterctl/testdata/create-no-args.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
NOTICE: clusterctl has been deprecated in v1alpha2 and will be removed in a future version.
1+
NOTICE: This utility, in its current form will be superseded by `clusterctl v2`. For more information see https://github.com/kubernetes-sigs/cluster-api/blob/master/docs/proposals/20191016-clusterctl-redesign.md
22
Create a cluster API resource with one command
33

44
Usage:

cmd/clusterctl/testdata/delete-cluster-no-args.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Please provide kubeconfig file for cluster to delete.
22

3-
NOTICE: clusterctl has been deprecated in v1alpha2 and will be removed in a future version.
3+
NOTICE: This utility, in its current form will be superseded by `clusterctl v2`. For more information see https://github.com/kubernetes-sigs/cluster-api/blob/master/docs/proposals/20191016-clusterctl-redesign.md
44
Delete a kubernetes cluster with one command
55

66
Usage:

cmd/clusterctl/testdata/delete-no-args.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
NOTICE: clusterctl has been deprecated in v1alpha2 and will be removed in a future version.
1+
NOTICE: This utility, in its current form will be superseded by `clusterctl v2`. For more information see https://github.com/kubernetes-sigs/cluster-api/blob/master/docs/proposals/20191016-clusterctl-redesign.md
22
Delete a cluster API resource with one command
33

44
Usage:

cmd/clusterctl/testdata/no-args.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
NOTICE: clusterctl has been deprecated in v1alpha2 and will be removed in a future version.
1+
NOTICE: This utility, in its current form will be superseded by `clusterctl v2`. For more information see https://github.com/kubernetes-sigs/cluster-api/blob/master/docs/proposals/20191016-clusterctl-redesign.md
22
Simple kubernetes cluster management
33

44
Usage:

cmd/clusterctl/testdata/validate-no-args.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
NOTICE: clusterctl has been deprecated in v1alpha2 and will be removed in a future version.
1+
NOTICE: This utility, in its current form will be superseded by `clusterctl v2`. For more information see https://github.com/kubernetes-sigs/cluster-api/blob/master/docs/proposals/20191016-clusterctl-redesign.md
22
Validate an API resource created by cluster API. See subcommands for supported API resources.
33

44
Usage:

docs/book/src/tooling/clusterctl.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<aside class="note warning">
2-
<h1>Deprecation Notice</h1>
2+
<h1>⚠️ Upcoming breaking changes</h1>
33

4-
This utility has been deprecated in v1alpha2 and will be removed in a future version.
4+
This utility, in its current form will be superseded by `clusterctl v2`. A design doc can be found [here](https://github.com/kubernetes-sigs/cluster-api/blob/master/docs/proposals/20191016-clusterctl-redesign.md)
55

66
</aside>
77

0 commit comments

Comments
 (0)