-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ManagedNodeGroups with custom launch templates always using x86_6…
…4 AMI (#1324) A custom launch template is created for a Node Group when `kubeletExtraArgs`, `bootstrapExtraArgs` or `enableIMDSv2` is set. In that case, the recommended AMI is retrieved from SSM Parameter Store. The input property `instanceType` is used to select the right architecture. But `ManagedNodeGroup` doesn't have an `instanceType` input property, it has a list of `instanceTypes`. This change fixes this by checking the `instanceTypes` property of Managed Node Groups as well. Fixes #1323
- Loading branch information
1 parent
23ccdc3
commit c7d4e36
Showing
4 changed files
with
99 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,6 @@ | |
|
||
"authenticationMode.test.ts", | ||
"dependencies.test.ts", | ||
"nodegroup.test.ts", | ||
"nodegroup.test.ts" | ||
] | ||
} |