Deprecate aliyun

This commit is contained in:
Ole Markus With 2021-02-05 22:51:49 +01:00
parent beb8b62746
commit 091b63a15a
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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")
}