Clustertctl should validate kubernetes version is >= v1.16.0 #2837
Labels
area/clusterctl
Issues or PRs related to clusterctl
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/active
Indicates that an issue or PR is actively being worked on by a contributor.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone
What steps did you take and what happened:
xref kubernetes-sigs/cluster-api-provider-aws#1676
Clustertctl fails if the management cluster is <= v1.16.0
Followed the Quickstart in the docs line by line exactly and I got this error when running:
clusterctl init --infrastructure aws
What did you expect to happen:
Clustertctl should validate that the management cluster is >= v1.16.0 or provide a meaningful error message to the users
Anything else you would like to add:
As a first thought, this check can be implemented as a part of the "EnsureCustomResourceDefinitions", which is the first method called in most of the clusterctl commands and the first requiring v1.16.0 features
Environment:
Cluster-api-provider-aws version:
Kubernetes version: (use kubectl version):
OS (e.g. from /etc/os-release):
/kind bug
/area clusterctl
The text was updated successfully, but these errors were encountered: