-
Notifications
You must be signed in to change notification settings - Fork 14
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
Feat/add node pool common #353
base: main
Are you sure you want to change the base?
Conversation
16de105
to
7af93df
Compare
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.
Some minor changes before approving.
I'm not sure nodePoolsCommon
is a good name for this parameter though. Maybe nodePoolsDefaults
is better? but then it could cause some confusion with nodePoolsLaunchKind
and nodePoolGlobalAmiType
🤔
Also, I'm not a fan that we are starting to have:
.spec.kubernetes.nodePools
.spec.kubernetes.nodePoolsLaunchKind
.spec.kubernetes.nodePoolGlobalAmiType (notice that is nodePool and not nodePool**s**)
.spec.kubernetes.nodePoolsCommon (this is being added)
This smells like all should be inside .spec.kubernetes.nodePools
and maybe launchKind inside common too, but then what is currently under .spec.kubernetes.nodePools should be inside another key that I can't think of right now.
@ralgozino I don't have a strong preference for the name |
7af93df
to
70364b9
Compare
Mm.. I did pick up that this applied only to self-managed node pools, in that case we should be very clear in the descriptions that this fields apply only to that case. Are there any other properties that could be added in the future to nodePoolsCommon that apply to eks-managed nodepools or will it always be only for self-managed ones?
Yes, all of that would be breaking changes that ideally would require bumping the schema version. Let's leave that out of the scope of this PR. |
Any keys that are common between https://github.com/terraform-aws-modules/terraform-aws-eks/blob/v17.24.0/locals.tf#L36 and https://github.com/terraform-aws-modules/terraform-aws-eks/blob/v17.24.0/modules/node_groups/locals.tf#L3 |
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.
Hi @g-iannelli, Ci is failing, could you please check it?
Co-authored-by: Ramiro Algozino <[email protected]>
b9cf4bb
to
755ae21
Compare
Summary 💡
Currently, there is no built-in support for configuring Instance Metadata Service Version 2 (IMDSv2) for self-managed EKS node pools. IMDSv2 enhances security by enforcing session-based authentication for metadata requests, reducing the risk of metadata theft.
Self-managed EKS node pools should support the configuration of IMDSv2 settings, including:
Expected Outcome:
Closes:
#352
Relates:
Description 📝
spec.kubernetes.nodePoolCommon
with properties for managing IDMS parameters in self-managed EKS node pools.spec.kubernetes.nodePoolCommon
.Breaking Changes 💔
No breaking changes should be in place
Tests performed 🧪
spec.kubernetes.nodePoolsCommon