-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove support for 1.18 #5073
remove support for 1.18 #5073
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also update dry-run.md and addons.md. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of questions on removal of supported versions checks for addons
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also i noticed some specific checks in tests around 1.18, do we need to update them to 1.19 to make sure everything works fine for 1.19 in the following files?
pkg/actions/addon/create_test.go
pkg/actions/addon/delete_test.go
pkg/actions/addon/get_test.go
pkg/actions/addon/update_test.go
pkg/actions/addon/describe_versions_test.go
I will take a look but I have a feeling it doesn't matte for the tests, any version can be used for unit-testing, since we aren't talking to the real EKS API. We have lots of tests referencing old versions since its just not worth changing. E.g. kube-proxy tests reference 1.15/6 https://github.com/weaveworks/eksctl/blob/main/pkg/addons/default/kube_proxy_test.go |
As I mentioned in the earlier comment, the files refer to specific version 1.18 in tests. If we remove the supported version checks and |
In those tests, the version is irrelevant. :) clusterConfig = &api.ClusterConfig{Metadata: &api.ClusterMeta{
Version: "1.18",
Name: "my-cluster",
}} The version there literally could be We usually just leave them be as it's not worth continuously updating. Such as versions like these: {
AddonVersion: aws.String("v1.0.0-eksbuild.1"),
},
{
AddonVersion: aws.String("v1.7.5-eksbuild.1"),
},
{
AddonVersion: aws.String("v1.7.5-eksbuild.2"),
},
{
//not sure if all versions come with v prefix or not, so test a mix
AddonVersion: aws.String("v1.7.7-eksbuild.2"),
},
{
AddonVersion: aws.String("v1.7.6"), We never update these either, because they don't matter. They aren't version checked any longer. The tests are testing a different thing. The relevant tests in kube_proxy have been updated however. Those do matter for version reasons. |
+1 to what @Skarlso said 😄 |
I didn't know there's a spokesperson for you @aclevername :D |
tbf all of the responses yesterday were while I was at the doctors, which I appreciate ❤️ |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a comment about keeping the existing validation for addons but otherwise LGTM.
Description
Closes #5062