-
Notifications
You must be signed in to change notification settings - Fork 82
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
Enable IMDSv2 for ManagedNodeGroup resources #1146
Conversation
Does the PR have any schema changes?Looking good! No breaking changes found. |
c0c4e53
to
cebac37
Compare
Does the PR have any schema changes?Looking good! No breaking changes found. |
return `#!/bin/bash | ||
// If the user specifies either kubeletExtraArgs or bootstrapExtraArgs, we need to create a base64 encoded user data script. | ||
if (args.kubeletExtraArgs || args.bootstrapExtraArgs) { | ||
const kubeletExtraArgs = args.kubeletExtraArgs ? args.kubeletExtraArgs.split(" ") : []; |
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.
Unrelated - I think you want to strip this in case you get something like " foo "
.
Does the PR have any schema changes?Looking good! No breaking changes found. |
96962fc
to
c4ef227
Compare
Does the PR have any schema changes?Looking good! No breaking changes found. |
### Proposed changes Exposes a new option for ManagedNodeGroups to enable IMDSv2. This PR is stacked on top of #1131 which allows the creation of a LaunchTemplate to implement these features. Manual testing was done to ensure that we can create a ManagedNodeGroup with IMDSv2 enabled using instructions from: https://stackoverflow.com/questions/64595032/how-to-tell-what-version-of-instance-metadata-serviceimds-ec2-instance-is-usin ### Related issues (optional) Fixes: #682
Proposed changes
Exposes a new option for ManagedNodeGroups to enable IMDSv2. This PR is stacked on top of #1131 which allows the creation of a LaunchTemplate to implement these features.
Manual testing was done to ensure that we can create a ManagedNodeGroup with IMDSv2 enabled using instructions from: https://stackoverflow.com/questions/64595032/how-to-tell-what-version-of-instance-metadata-serviceimds-ec2-instance-is-usin
Related issues (optional)
Fixes: #682