Skip to content

Commit d4e16e4

Browse files
authored
Merge pull request #3158 from sedefsavas/flatcar
Add flatcar-stable to supported OS list for clusterawsadm
2 parents 8343acd + 69cdd56 commit d4e16e4

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

cmd/clusterawsadm/ami/helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const (
3838
)
3939

4040
func getSupportedOsList() []string {
41-
return []string{"centos-7", "ubuntu-18.04", "ubuntu-20.04", "amazon-2"}
41+
return []string{"centos-7", "ubuntu-18.04", "ubuntu-20.04", "amazon-2", "flatcar-stable"}
4242
}
4343

4444
func getimageRegionList() []string {

cmd/clusterawsadm/cmd/ami/common/copy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func CopyAMICmd() *cobra.Command {
4040
`),
4141
Example: cmd.Examples(`
4242
# Copy AMI from the default AWS account where AMIs are stored.
43-
# Available os options: centos-7, ubuntu-18.04, ubuntu-20.04, amazon-2
43+
# Available os options: centos-7, ubuntu-18.04, ubuntu-20.04, amazon-2, flatcar-stable
4444
clusterawsadm ami copy --kubernetes-version=v1.18.12 --os=ubuntu-20.04 --region=us-west-2
4545
4646
# owner-id and dry-run flags are optional. region can be set via flag or env

cmd/clusterawsadm/cmd/ami/common/encryptedcopy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func EncryptedCopyAMICmd() *cobra.Command {
4545
`),
4646
Example: cmd.Examples(`
4747
# Create an encrypted AMI:
48-
# Available os options: centos-7, ubuntu-18.04, ubuntu-20.04, amazon-2
48+
# Available os options: centos-7, ubuntu-18.04, ubuntu-20.04, amazon-2, flatcar-stable
4949
clusterawsadm ami encrypted-copy --kubernetes-version=v1.18.12 --os=ubuntu-20.04 --region=us-west-2
5050
5151
# owner-id and dry-run flags are optional. region can be set via flag or env

cmd/clusterawsadm/cmd/ami/list/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func ListAMICmd() *cobra.Command {
4949
`),
5050
Example: cmd.Examples(`
5151
# List AMIs from the default AWS account where AMIs are stored.
52-
# Available os options: centos-7, ubuntu-18.04, ubuntu-20.04, amazon-2
52+
# Available os options: centos-7, ubuntu-18.04, ubuntu-20.04, amazon-2, flatcar-stable
5353
clusterawsadm ami list --kubernetes-version=v1.18.12 --os=ubuntu-20.04 --region=us-west-2
5454
# To list all supported AMIs in all supported Kubernetes versions, regions, and linux distributions:
5555
clusterawsadm ami list

docs/book/src/topics/images/built-amis.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ See [clusterawsadm ami list](../clusterawsadm/clusterawsadm_ami_list.md) for det
1111
- Amazon Linux 2 (amazon-2)
1212
- Ubuntu (ubuntu-20.04, ubuntu-18.04)
1313
- Centos (centos-7)
14+
- Flatcar (flatcar-stable)
1415

1516
## Supported AWS Regions
1617
- ap-northeast-1

0 commit comments

Comments
 (0)