-
Notifications
You must be signed in to change notification settings - Fork 4.2k
fix(eks): update aws-node-termination-handler chart version #34218
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
Conversation
"Values": "{\"nodeSelector\":{\"lifecycle\":\"Ec2Spot\"}}", | ||
"Namespace": "kube-system", | ||
"Repository": "https://aws.github.io/eks-charts", | ||
"Repository": "oci://public.ecr.aws/aws-ec2/helm/aws-node-termination-handler", |
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.
@@ -43,7 +43,7 @@ class EksClusterStack extends Stack { | |||
vpcSubnets, | |||
mastersRole, | |||
defaultCapacity: 2, | |||
...getClusterVersionConfig(this), | |||
...getClusterVersionConfig(this, eks.KubernetesVersion.V1_32), |
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 don't think it makes sense to test V1_24 by default.
I plan to fix it in another pull request.
Lines 22 to 23 in 58c2631
export function getClusterVersionConfig(scope: Construct, version?: eks.KubernetesVersion) { | |
const _version = version ?? eks.KubernetesVersion.V1_24; |
@@ -1183,8 +1183,8 @@ abstract class ClusterBase extends Resource implements ICluster { | |||
if (!this._spotInterruptHandler) { | |||
this._spotInterruptHandler = this.addHelmChart('spot-interrupt-handler', { | |||
chart: 'aws-node-termination-handler', | |||
version: '0.18.0', | |||
repository: 'https://aws.github.io/eks-charts', | |||
version: '0.27.0', |
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 are having a discussion now.
#34217 (comment)
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.
Verified the versions. Noting the change in repository. Approving the fix.
version: '0.18.0', | ||
repository: 'https://aws.github.io/eks-charts', | ||
version: '0.27.0', | ||
repository: 'oci://public.ecr.aws/aws-ec2/helm/aws-node-termination-handler', |
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 have verified the versions. Approving this.
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
This pull request has been removed from the queue for the following reason: The pull request can't be updated. You should update or rebase your pull request manually. If you do, this pull request will automatically be requeued once the queue conditions match again. |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Pull request has been modified.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Comments on closed issues and PRs are hard for our team to see. |
Issue # (if applicable)
Closes #34217
Reason for this change
https://artifacthub.io/packages/helm/aws/aws-node-termination-handler/0.18.0
aws-cdk/packages/aws-cdk-lib/aws-eks/lib/cluster.ts
Lines 1184 to 1188 in 58c2631
https://artifacthub.io/packages/helm/aws-node-termination-handler/aws-node-termination-handler
PodSecurityPolicy
to Pod Security Admission aws-node-termination-handler#638Description of changes
Update aws-node-termination-handler chart version
Describe any new or updated permissions being added
None
Description of how you validated changes
Pass unit/integration tests
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license