Skip to content

Commit

Permalink
Update generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
errordeveloper committed Oct 23, 2018
1 parent da82279 commit 57c8178
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
32 changes: 17 additions & 15 deletions pkg/ami/static_resolver_ami.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
package ami

// StaticImages is a map that holds the list of amis to be used by
// for static ami resolution
var StaticImages = map[string]map[int]map[string]string{
ImageFamilyAmazonLinux2: {
ImageClassGeneral: {
"eu-west-1": "ami-0c7a4976cb6fafd3a",
"us-east-1": "ami-0440e4f6b9713faf6",
"us-west-2": "ami-0a54c984b9f908c81",
},
ImageClassGPU: {
"eu-west-1": "ami-0706dc8a5eed2eed9",
"us-east-1": "ami-058bfb8c236caae89",
"us-west-2": "ami-0731694d53ef9604b",
},
// This file was generated by static_resolver_ami_generate.go; DO NOT EDIT.

// StaticImages is a map that holds the list of AMIs to be used by for static resolution
var StaticImages = map[string]map[int]map[string]string{"AmazonLinux2": {

ImageClassGPU: {

"eu-west-1": "ami-0706dc8a5eed2eed9",
"us-east-1": "ami-058bfb8c236caae89",
"us-west-2": "ami-0731694d53ef9604b",
},
ImageClassGeneral: {

"eu-west-1": "ami-0c7a4976cb6fafd3a",
"us-east-1": "ami-0440e4f6b9713faf6",
"us-west-2": "ami-0a54c984b9f908c81",
},
}
}}
4 changes: 3 additions & 1 deletion pkg/nodebootstrap/maxpods.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package nodebootstrap

// Generated from https://raw.github.com/awslabs/amazon-eks-ami/master/files/eni-max-pods.txt
// This file was generated by maxpods_generate.go; DO NOT EDIT.

// Source: https://raw.github.com/awslabs/amazon-eks-ami/master/files/eni-max-pods.txt
var maxPodsPerNodeType = map[string]int{
"c1.medium": 12,
"c1.xlarge": 58,
Expand Down

0 comments on commit 57c8178

Please sign in to comment.