File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -765,7 +765,8 @@ etcd_instance_type: "t3.medium"
765
765
766
766
etcd_scalyr_key : " "
767
767
768
- etcd_ami : {{ amiID "zalando-ubuntu-etcd-production-v3.5.18-amd64-main-35" "861068367966"}}
768
+ etcd_ami_amd64 : {{ amiID "zalando-ubuntu-etcd-production-v3.5.22-amd64-main-38" "861068367966"}}
769
+ etcd_ami_arm64 : {{ amiID "zalando-ubuntu-etcd-production-v3.5.22-arm64-main-38" "861068367966"}}
769
770
770
771
cluster_dns : " coredns"
771
772
coredns_log_svc_names : " true"
Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ Metadata:
6
6
" kubernetes:component " : " etcd-cluster"
7
7
application : " kubernetes"
8
8
component : " etcd-cluster"
9
+ Mappings :
10
+ Images :
11
+ {{.Cluster.Region}}:
12
+ # Use the etcd instance architecture to construct the config item name that we're using to get the AMI name.
13
+ MachineImage : ' {{ index .Cluster.ConfigItems (print "etcd_ami_" .Values.etcd_instance_type_info.Architecture) }}'
9
14
Outputs :
10
15
EtcdClusterSecurityGroupId :
11
16
Description : " Security Group ID of the etcd cluster"
@@ -53,7 +58,10 @@ Resources:
53
58
IamInstanceProfile :
54
59
Name : !Ref AppServerInstanceProfile
55
60
InstanceInitiatedShutdownBehavior : terminate
56
- ImageId : {{.Cluster.ConfigItems.etcd_ami}}
61
+ ImageId : !FindInMap
62
+ - Images
63
+ - !Ref ' AWS::Region'
64
+ - MachineImage
57
65
InstanceType : {{.Cluster.ConfigItems.etcd_instance_type}}
58
66
UserData :
59
67
Fn::Base64 : !Sub |
You can’t perform that action at this time.
0 commit comments