Skip to content

Commit 4dadb7b

Browse files
committed
CHANGELOG, ec2config: update AMI type
Signed-off-by: Gyuho Lee <[email protected]>
1 parent 408858d commit 4dadb7b

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

CHANGELOG/CHANGELOG-1.6.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11

22
<hr>
33

4+
## [v1.6.4](https://github.com/aws/aws-k8s-tester/releases/tag/v1.6.4) (2021-10-13)
5+
6+
See [code changes](https://github.com/aws/aws-k8s-tester/compare/v1.6.3...v1.6.4).
7+
8+
### `eksconfig`
9+
10+
- Support [Windows node group](https://github.com/aws/aws-k8s-tester/pull/241).
11+
12+
### Go
13+
14+
- Compile with [*Go 1.17.2*](https://golang.org/doc/devel/release.html#go1.17).
15+
16+
17+
<hr>
18+
19+
420
## [v1.6.3](https://github.com/aws/aws-k8s-tester/releases/tag/v1.6.3) (2021-10-06)
521

622
See [code changes](https://github.com/aws/aws-k8s-tester/compare/v1.6.2...v1.6.3).

ec2config/config.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ const (
3131
// AMITypeAL2X8664GPU is the AMI type for Amazon Linux 2 AMI with GPU.
3232
AMITypeAL2X8664GPU = "AL2_x86_64_GPU"
3333

34+
// AMITypeOther is defined for all other AMI types.
35+
AMITypeOther = "OTHER"
36+
3437
AMITypeWindowsServerCore2019X8664 = "WINDOWS_SERVER_CORE_2019_x86_64"
3538

3639
// DefaultNodeInstanceTypeCPUARM is the default EC2 instance type for CPU worker node.

ec2config/validate-defaults.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ func (cfg *Config) validateASGs() error {
349349
if cur.RemoteAccessUserName != "ec2-user" {
350350
return fmt.Errorf("AMIType %q but unexpected RemoteAccessUserName %q", cur.AMIType, cur.RemoteAccessUserName)
351351
}
352+
case AMITypeOther:
352353
default:
353354
return fmt.Errorf("unknown ASGs[%q].AMIType %q", k, cur.AMIType)
354355
}
@@ -370,6 +371,7 @@ func (cfg *Config) validateASGs() error {
370371
if cur.InstanceType == "" {
371372
cur.InstanceType = DefaultNodeInstanceTypeGPU
372373
}
374+
case AMITypeOther:
373375
default:
374376
return fmt.Errorf("unknown ASGs[%q].AMIType %q", k, cur.AMIType)
375377
}

0 commit comments

Comments
 (0)