-
Notifications
You must be signed in to change notification settings - Fork 41
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 k8s_version variable #247
Conversation
Users should not set a k8s variable, instead they should use the release version for their intended k8s version
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.
We should make it clear that this isn't configurable and instead users should use the appropriate github release
Could you elaborate on the reason why you think so?I think the version is configurable and we don't need this PR.
Let's say we want to deploy EKS cluster using K8s version 1.17 and 1.19 we can use the variable to specify the versions.
Sure! Let's say a user wants to use the module to set up a cluster with k8s 1.19. They should use the terraform cluster module targeting version 1.19. Let's say that user now wants to install a cluster with k8s 1.17, and they use that same terraform module (version 1.19) but set So two reasons for me to open this PR:
|
Thank you for the explanation. Now, your intention is clear and I think this changes make sense. So, will we change all supported versions' |
Yes - do you agree with the implementation (change all supported versions' |
Yes. When is the timing we declare this is a breaking change for the module? Maybe at the time to release a new patch version for each minor version? |
Yes we should announce the breaking change with the release. What releases do you think we should target this PR to? I think we should release this with the next minor version 1.20, but I'm not sure we need to release a patch to previous minor version. 📝 I will add a note to https://github.com/cookpad/terraform-aws-eks/blob/main/UPGRADING.md about the breaking change |
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.
LGTM
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.
LGTM
…oved k8s_version variable
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.
❤️
We provided a variable for
k8s_version
in the module. This would allow users to set a different k8s version to the github release they are using, which may cause them to use incorrect configuration for that k8s version and use the wrong version of some addons.We should make it clear that this isn't configurable and instead users should use the appropriate github release