File tree Expand file tree Collapse file tree 6 files changed +29
-7
lines changed Expand file tree Collapse file tree 6 files changed +29
-7
lines changed Original file line number Diff line number Diff line change @@ -777,14 +777,18 @@ tracing_coredns_local_zone_traces_endpoint: ""
777
777
# AMI id given the image name and the Image AWS account owner.
778
778
#
779
779
# [0]: https://github.com/zalando-incubator/cluster-lifecycle-manager/blob/8a9bd1cb2d094038a9e23e646421f8146b48886a/provisioner/template.go#L116
780
- kuberuntu_image_v1_31_old_amd64 : {{ amiID "zalando-ubuntu-jammy-22.04-kubernetes-production-v1.31.4 -amd64-master-359 " "861068367966" }}
781
- kuberuntu_image_v1_31_old_arm64 : {{ amiID "zalando-ubuntu-jammy-22.04-kubernetes-production-v1.31.4 -arm64-master-359 " "861068367966" }}
782
- kuberuntu_image_v1_31_new_amd64 : {{ amiID "zalando-ubuntu-jammy-22.04-kubernetes-production-v1.31.6 -amd64-master-368 " "861068367966" }}
783
- kuberuntu_image_v1_31_new_arm64 : {{ amiID "zalando-ubuntu-jammy-22.04-kubernetes-production-v1.31.6 -arm64-master-368 " "861068367966" }}
780
+ kuberuntu_image_v1_31_aws_amd64 : {{ amiID "zalando-ubuntu-jammy-22.04-kubernetes-production-v1.31.6 -amd64-master-368 " "861068367966" }}
781
+ kuberuntu_image_v1_31_aws_arm64 : {{ amiID "zalando-ubuntu-jammy-22.04-kubernetes-production-v1.31.6 -arm64-master-368 " "861068367966" }}
782
+ kuberuntu_image_v1_31_eks_amd64 : {{ amiID "zalando-ubuntu-jammy-22.04-kubernetes-production-v1.31.7 -amd64-master-371 " "861068367966" }}
783
+ kuberuntu_image_v1_31_eks_arm64 : {{ amiID "zalando-ubuntu-jammy-22.04-kubernetes-production-v1.31.7 -arm64-master-371 " "861068367966" }}
784
784
785
785
# This is used to determine which AMI to use for the cluster or individual node
786
- # pools. Possible values are 'new' or 'old'
787
- kuberuntu_ami_version : " new"
786
+ # pools. Possible values are 'aws' or 'eks'
787
+ {{if eq .Cluster.Provider "zalando-eks"}}
788
+ kuberuntu_ami_version : " eks"
789
+ {{else}}
790
+ kuberuntu_ami_version : " aws"
791
+ {{end}}
788
792
789
793
# Feature toggle for auditing events
790
794
audit_pod_events : " true"
Original file line number Diff line number Diff line change 45
45
pod.env-inject.variable._PLATFORM_OBSERVABILITY_METRICS_PORT : " {{ .Cluster.ConfigItems.observability_metrics_port }}"
46
46
pod.env-inject.variable._PLATFORM_OBSERVABILITY_ACCESS_TOKEN : " {{ .Cluster.ConfigItems.lightstep_token }}"
47
47
pod.env-inject.variable._PLATFORM_OBSERVABILITY_COMMON_ATTRIBUTE_CLOUD__ACCOUNT__ID : " {{ .Cluster.Alias }}"
48
+ {{- if and (eq .Cluster.Provider "zalando-eks") (eq .Cluster.ConfigItems.eks_ip_family "ipv6")}}
49
+ pod.env-inject.variable.AWS_EC2_METADATA_SERVICE_ENDPOINT : " http://[fd00:ec2::254]"
50
+ pod.env-inject.variable.AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE : " IPv6"
51
+ {{- end }}
48
52
{{- if eq .Cluster.Environment "e2e" }}
49
53
pod.env-inject.variable._PLATFORM_E2E : " injected"
50
54
{{- end }}
Original file line number Diff line number Diff line change 38
38
effect : NoExecute
39
39
hostNetwork : true
40
40
containers :
41
- - image : container-registry.zalando.net/teapot/kube2iam:0.12.0-master-19 .patched
41
+ - image : container-registry.zalando.net/teapot/kube2iam:0.12.0-master-22 .patched
42
42
name : kube2iam
43
43
args :
44
44
- --auto-discover-base-arn
Original file line number Diff line number Diff line change @@ -132,6 +132,11 @@ Resources:
132
132
Properties :
133
133
LaunchTemplateName : ' {{.Cluster.LocalID}}-{{ .NodePool.Name }}'
134
134
LaunchTemplateData :
135
+ {{- if and (eq .Cluster.Provider "zalando-eks") (eq .Cluster.ConfigItems.eks_ip_family "ipv6") }}
136
+ MetadataOptions :
137
+ HttpEndpoint : enabled
138
+ HttpProtocolIpv6 : enabled
139
+ {{- end }}
135
140
TagSpecifications :
136
141
- ResourceType : " volume"
137
142
Tags :
Original file line number Diff line number Diff line change 11
11
- id : {{ index .NodePool.ConfigItems (print "kuberuntu_image_v1_31_" .NodePool.ConfigItems.kuberuntu_ami_version "_arm64") }}
12
12
metadataOptions :
13
13
httpEndpoint : enabled
14
+ # {{ if and (eq .Cluster.Provider "zalando-eks") (eq .Cluster.ConfigItems.eks_ip_family "ipv6") }}
15
+ httpProtocolIPv6 : enabled
16
+ # {{ else }}
14
17
httpProtocolIPv6 : disabled
18
+ # {{ end }}
15
19
httpPutResponseHopLimit : 2
16
20
httpTokens : optional
17
21
subnetSelectorTerms :
Original file line number Diff line number Diff line change @@ -137,6 +137,11 @@ Resources:
137
137
Properties :
138
138
LaunchTemplateName : ' {{ .Cluster.LocalID }}-{{ .NodePool.Name }}'
139
139
LaunchTemplateData :
140
+ {{- if and (eq .Cluster.Provider "zalando-eks") (eq .Cluster.ConfigItems.eks_ip_family "ipv6") }}
141
+ MetadataOptions :
142
+ HttpEndpoint : enabled
143
+ HttpProtocolIpv6 : enabled
144
+ {{- end }}
140
145
TagSpecifications :
141
146
- ResourceType : " volume"
142
147
Tags :
You can’t perform that action at this time.
0 commit comments