From 091b63a15ab1cece61cb151668a7394443c02884 Mon Sep 17 00:00:00 2001 From: Ole Markus With Date: Fri, 5 Feb 2021 22:51:49 +0100 Subject: [PATCH] Deprecate aliyun --- docs/releases/1.20-NOTES.md | 2 ++ upup/pkg/fi/cloudup/apply_cluster.go | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/docs/releases/1.20-NOTES.md b/docs/releases/1.20-NOTES.md index 2ab62cd3a0..c33bc43bd0 100644 --- a/docs/releases/1.20-NOTES.md +++ b/docs/releases/1.20-NOTES.md @@ -47,6 +47,8 @@ * The experimental node-authorizer that could be enabled using `nodeAuthorization` has been removed. Setting this value is now forbidden. +* Due to lack of maintainers, the Aliyun/Alibaba Cloud support has been deprecated. The current implementation will be left as-is until the implementation needs updates or otherwise becomes incompatible. At that point, it will be removed. We very much welcome anyone willing to contribute to this cloud provider. + # Full change list since 1.19.0 release ## 1.19.0-beta.3 to 1.20.0-alpha.1 diff --git a/upup/pkg/fi/cloudup/apply_cluster.go b/upup/pkg/fi/cloudup/apply_cluster.go index 5154592c30..373647801b 100644 --- a/upup/pkg/fi/cloudup/apply_cluster.go +++ b/upup/pkg/fi/cloudup/apply_cluster.go @@ -433,6 +433,10 @@ func (c *ApplyClusterCmd) Run(ctx context.Context) error { case kops.CloudProviderALI: { + fmt.Println("") + fmt.Println("aliyun support has been deprecated due to lack of maintainers. It may be removed in a future version of kOps.") + fmt.Println("") + if !AlphaAllowALI.Enabled() { return fmt.Errorf("aliyun support is currently alpha, and is feature-gated. export KOPS_FEATURE_FLAGS=AlphaAllowALI") }