Skip to content

Commit bedb7d3

Browse files
authored
Merge pull request #5869 from damdo/bump-aws-ccm-and-add-variable
🌱 Bump AWS CCM to v1.32.5 and add variable for it in E2Es
2 parents 55e635b + a6eaa0b commit bedb7d3

30 files changed

Lines changed: 330 additions & 29 deletions

templates/cluster-template-flatcar-machinepool.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ data:
252252
serviceAccountName: cloud-controller-manager
253253
containers:
254254
- name: aws-cloud-controller-manager
255-
image: registry.k8s.io/provider-aws/cloud-controller-manager:v1.28.3
255+
image: registry.k8s.io/provider-aws/cloud-controller-manager:${KUBERNETES_AWS_CCM_VERSION:-v1.32.5}
256256
args:
257257
- --v=2
258258
- --cloud-provider=aws

templates/cluster-template-flatcar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ data:
235235
serviceAccountName: cloud-controller-manager
236236
containers:
237237
- name: aws-cloud-controller-manager
238-
image: registry.k8s.io/provider-aws/cloud-controller-manager:v1.28.3
238+
image: registry.k8s.io/provider-aws/cloud-controller-manager:${KUBERNETES_AWS_CCM_VERSION:-v1.32.5}
239239
args:
240240
- --v=2
241241
- --cloud-provider=aws

templates/cluster-template-machinepool.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ data:
199199
serviceAccountName: cloud-controller-manager
200200
containers:
201201
- name: aws-cloud-controller-manager
202-
image: registry.k8s.io/provider-aws/cloud-controller-manager:v1.28.3
202+
image: registry.k8s.io/provider-aws/cloud-controller-manager:${KUBERNETES_AWS_CCM_VERSION:-v1.32.5}
203203
args:
204204
- --v=2
205205
- --cloud-provider=aws

templates/cluster-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ data:
182182
serviceAccountName: cloud-controller-manager
183183
containers:
184184
- name: aws-cloud-controller-manager
185-
image: registry.k8s.io/provider-aws/cloud-controller-manager:v1.28.3
185+
image: registry.k8s.io/provider-aws/cloud-controller-manager:${KUBERNETES_AWS_CCM_VERSION:-v1.32.5}
186186
args:
187187
- --v=2
188188
- --cloud-provider=aws

test/e2e/data/e2e_conf.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ variables:
190190
KUBERNETES_VERSION: "v1.32.0"
191191
KUBERNETES_VERSION_UPGRADE_TO: "v1.32.0"
192192
KUBERNETES_VERSION_UPGRADE_FROM: "v1.31.0"
193+
KUBERNETES_AWS_CCM_VERSION: "v1.32.5"
193194
CNI: "../../data/cni/calico.yaml"
194195
KUBETEST_CONFIGURATION: "../../data/kubetest/conformance.yaml"
195196
EVENT_BRIDGE_INSTANCE_STATE: "true"

test/e2e/data/infrastructure-aws/withclusterclass/e2e_test_templates/cluster-template-nested-multitenancy-clusterclass.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,12 @@ data:
160160
serviceAccountName: cloud-controller-manager
161161
containers:
162162
- name: aws-cloud-controller-manager
163-
image: gcr.io/k8s-staging-provider-aws/cloud-controller-manager:v1.20.0-alpha.0
163+
image: registry.k8s.io/provider-aws/cloud-controller-manager:${KUBERNETES_AWS_CCM_VERSION:-v1.32.5}
164164
args:
165165
- --v=2
166+
- --cloud-provider=aws
167+
- --use-service-account-credentials=true
168+
- --configure-cloud-routes=false
166169
resources:
167170
requests:
168171
cpu: 200m
@@ -238,6 +241,9 @@ data:
238241
- serviceaccounts
239242
verbs:
240243
- create
244+
- get
245+
- list
246+
- watch
241247
- apiGroups:
242248
- ""
243249
resources:
@@ -274,6 +280,12 @@ data:
274280
- list
275281
- watch
276282
- update
283+
- apiGroups:
284+
- ""
285+
resources:
286+
- serviceaccounts/token
287+
verbs:
288+
- create
277289
---
278290
kind: ClusterRoleBinding
279291
apiVersion: rbac.authorization.k8s.io/v1

test/e2e/data/infrastructure-aws/withclusterclass/e2e_test_templates/cluster-template-self-hosted-clusterclass.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,12 @@ data:
135135
serviceAccountName: cloud-controller-manager
136136
containers:
137137
- name: aws-cloud-controller-manager
138-
image: gcr.io/k8s-staging-provider-aws/cloud-controller-manager:v1.20.0-alpha.0
138+
image: registry.k8s.io/provider-aws/cloud-controller-manager:${KUBERNETES_AWS_CCM_VERSION:-v1.32.5}
139139
args:
140140
- --v=2
141+
- --cloud-provider=aws
142+
- --use-service-account-credentials=true
143+
- --configure-cloud-routes=false
141144
resources:
142145
requests:
143146
cpu: 200m
@@ -213,6 +216,9 @@ data:
213216
- serviceaccounts
214217
verbs:
215218
- create
219+
- get
220+
- list
221+
- watch
216222
- apiGroups:
217223
- ""
218224
resources:
@@ -249,6 +255,12 @@ data:
249255
- list
250256
- watch
251257
- update
258+
- apiGroups:
259+
- ""
260+
resources:
261+
- serviceaccounts/token
262+
verbs:
263+
- create
252264
---
253265
kind: ClusterRoleBinding
254266
apiVersion: rbac.authorization.k8s.io/v1

test/e2e/data/infrastructure-aws/withclusterclass/e2e_test_templates/cluster-template-topology.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,12 @@ data:
131131
serviceAccountName: cloud-controller-manager
132132
containers:
133133
- name: aws-cloud-controller-manager
134-
image: gcr.io/k8s-staging-provider-aws/cloud-controller-manager:v1.20.0-alpha.0
134+
image: registry.k8s.io/provider-aws/cloud-controller-manager:${KUBERNETES_AWS_CCM_VERSION:-v1.32.5}
135135
args:
136136
- --v=2
137+
- --cloud-provider=aws
138+
- --use-service-account-credentials=true
139+
- --configure-cloud-routes=false
137140
resources:
138141
requests:
139142
cpu: 200m
@@ -209,6 +212,9 @@ data:
209212
- serviceaccounts
210213
verbs:
211214
- create
215+
- get
216+
- list
217+
- watch
212218
- apiGroups:
213219
- ""
214220
resources:
@@ -245,6 +251,12 @@ data:
245251
- list
246252
- watch
247253
- update
254+
- apiGroups:
255+
- ""
256+
resources:
257+
- serviceaccounts/token
258+
verbs:
259+
- create
248260
---
249261
kind: ClusterRoleBinding
250262
apiVersion: rbac.authorization.k8s.io/v1

test/e2e/data/infrastructure-aws/withoutclusterclass/e2e_test_templates/cluster-template-efs-support.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,12 @@ data:
215215
serviceAccountName: cloud-controller-manager
216216
containers:
217217
- name: aws-cloud-controller-manager
218-
image: gcr.io/k8s-staging-provider-aws/cloud-controller-manager:v1.20.0-alpha.0
218+
image: registry.k8s.io/provider-aws/cloud-controller-manager:${KUBERNETES_AWS_CCM_VERSION:-v1.32.5}
219219
args:
220220
- --v=2
221+
- --cloud-provider=aws
222+
- --use-service-account-credentials=true
223+
- --configure-cloud-routes=false
221224
resources:
222225
requests:
223226
cpu: 200m
@@ -293,6 +296,9 @@ data:
293296
- serviceaccounts
294297
verbs:
295298
- create
299+
- get
300+
- list
301+
- watch
296302
- apiGroups:
297303
- ""
298304
resources:
@@ -329,6 +335,12 @@ data:
329335
- list
330336
- watch
331337
- update
338+
- apiGroups:
339+
- ""
340+
resources:
341+
- serviceaccounts/token
342+
verbs:
343+
- create
332344
---
333345
kind: ClusterRoleBinding
334346
apiVersion: rbac.authorization.k8s.io/v1

test/e2e/data/infrastructure-aws/withoutclusterclass/e2e_test_templates/cluster-template-external-cloud-provider.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,12 @@ data:
208208
serviceAccountName: cloud-controller-manager
209209
containers:
210210
- name: aws-cloud-controller-manager
211-
image: gcr.io/k8s-staging-provider-aws/cloud-controller-manager:v1.20.0-alpha.0
211+
image: registry.k8s.io/provider-aws/cloud-controller-manager:${KUBERNETES_AWS_CCM_VERSION:-v1.32.5}
212212
args:
213213
- --v=2
214+
- --cloud-provider=aws
215+
- --use-service-account-credentials=true
216+
- --configure-cloud-routes=false
214217
resources:
215218
requests:
216219
cpu: 200m
@@ -286,6 +289,9 @@ data:
286289
- serviceaccounts
287290
verbs:
288291
- create
292+
- get
293+
- list
294+
- watch
289295
- apiGroups:
290296
- ""
291297
resources:
@@ -322,6 +328,12 @@ data:
322328
- list
323329
- watch
324330
- update
331+
- apiGroups:
332+
- ""
333+
resources:
334+
- serviceaccounts/token
335+
verbs:
336+
- create
325337
---
326338
kind: ClusterRoleBinding
327339
apiVersion: rbac.authorization.k8s.io/v1

0 commit comments

Comments
 (0)