Skip to content

Commit 44280ad

Browse files
Update CAPI, CCM and golang versions (#355)
* Update CAPI, CCM and golang versions
1 parent 20ecae2 commit 44280ad

File tree

4 files changed

+236
-174
lines changed

4 files changed

+236
-174
lines changed

templates/cluster-template-oci-addons.yaml

Lines changed: 87 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,10 @@ data:
219219
- key: node.cloudprovider.kubernetes.io/uninitialized
220220
value: "true"
221221
effect: NoSchedule
222-
- key: node-role.kubernetes.io/master
222+
- key: node-role.kubernetes.io/control-plane
223223
operator: Exists
224224
effect: NoSchedule
225-
- key: node-role.kubernetes.io/control-plane
225+
- key: node-role.kubernetes.io/master
226226
operator: Exists
227227
effect: NoSchedule
228228
volumes:
@@ -234,12 +234,13 @@ data:
234234
path: /etc/kubernetes
235235
containers:
236236
- name: oci-cloud-controller-manager
237-
image: ghcr.io/oracle/cloud-provider-oci:v1.26.0
237+
image: ghcr.io/oracle/cloud-provider-oci:v1.28.0
238238
command: ["/usr/local/bin/oci-cloud-controller-manager"]
239239
args:
240240
- --cloud-config=/etc/oci/cloud-provider.yaml
241241
- --cloud-provider=oci
242-
- --leader-elect-resource-lock=configmapsleases
242+
- --leader-elect-resource-lock=leases
243+
- --concurrent-service-syncs=3
243244
- --v=2
244245
volumeMounts:
245246
- name: cfg
@@ -284,7 +285,7 @@ data:
284285
- list
285286
- watch
286287
- patch
287-
288+
- get
288289
- apiGroups:
289290
- ""
290291
resources:
@@ -380,6 +381,9 @@ data:
380381
- serviceaccounts
381382
verbs:
382383
- create
384+
- list
385+
- get
386+
- watch
383387
- apiGroups:
384388
- ""
385389
resources:
@@ -465,7 +469,7 @@ data:
465469
node-role.kubernetes.io/control-plane: ""
466470
containers:
467471
- name: csi-volume-provisioner
468-
image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0
472+
image: registry.k8s.io/sig-storage/csi-provisioner:v3.6.0
469473
args:
470474
- --csi-address=/var/run/shared-tmpfs/csi.sock
471475
- --volume-name-prefix=csi
@@ -480,7 +484,7 @@ data:
480484
- mountPath: /var/run/shared-tmpfs
481485
name: shared-tmpfs
482486
- name: csi-fss-volume-provisioner
483-
image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0
487+
image: registry.k8s.io/sig-storage/csi-provisioner:v3.6.0
484488
args:
485489
- --csi-address=/var/run/shared-tmpfs/csi-fss.sock
486490
- --volume-name-prefix=csi-fss
@@ -495,7 +499,7 @@ data:
495499
- mountPath: /var/run/shared-tmpfs
496500
name: shared-tmpfs
497501
- name: csi-attacher
498-
image: k8s.gcr.io/sig-storage/csi-attacher:v4.2.0
502+
image: registry.k8s.io/sig-storage/csi-attacher:v4.4.0
499503
args:
500504
- --csi-address=/var/run/shared-tmpfs/csi.sock
501505
- --timeout=120s
@@ -508,7 +512,24 @@ data:
508512
- mountPath: /var/run/shared-tmpfs
509513
name: shared-tmpfs
510514
- name: csi-resizer
511-
image: k8s.gcr.io/sig-storage/csi-resizer:v1.7.0
515+
image: registry.k8s.io/sig-storage/csi-resizer:v1.9.0
516+
args:
517+
- --csi-address=/var/run/shared-tmpfs/csi.sock
518+
- --leader-election
519+
imagePullPolicy: "IfNotPresent"
520+
volumeMounts:
521+
- mountPath: /var/run/shared-tmpfs
522+
name: shared-tmpfs
523+
- name: snapshot-controller
524+
image: registry.k8s.io/sig-storage/snapshot-controller:v6.2.0
525+
args:
526+
- --leader-election
527+
imagePullPolicy: "IfNotPresent"
528+
volumeMounts:
529+
- mountPath: /var/run/shared-tmpfs
530+
name: shared-tmpfs
531+
- name: csi-snapshotter
532+
image: registry.k8s.io/sig-storage/csi-snapshotter:v6.2.0
512533
args:
513534
- --csi-address=/var/run/shared-tmpfs/csi.sock
514535
- --leader-election
@@ -522,7 +543,7 @@ data:
522543
- --fss-csi-endpoint=unix://var/run/shared-tmpfs/csi-fss.sock
523544
command:
524545
- /usr/local/bin/oci-csi-controller-driver
525-
image: ghcr.io/oracle/cloud-provider-oci:v1.26.0
546+
image: ghcr.io/oracle/cloud-provider-oci:v1.28.0
526547
imagePullPolicy: IfNotPresent
527548
volumeMounts:
528549
- name: config
@@ -673,7 +694,7 @@ data:
673694
fieldPath: spec.nodeName
674695
- name: PATH
675696
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/host/usr/bin:/host/sbin
676-
image: ghcr.io/oracle/cloud-provider-oci:v1.26.0
697+
image: ghcr.io/oracle/cloud-provider-oci:v1.28.0
677698
securityContext:
678699
privileged: true
679700
volumeMounts:
@@ -687,6 +708,7 @@ data:
687708
- mountPath: /dev
688709
name: device-dir
689710
- mountPath: /host
711+
mountPropagation: HostToContainer
690712
name: host-root
691713
- mountPath: /sbin/iscsiadm
692714
name: chroot-iscsiadm
@@ -707,7 +729,7 @@ data:
707729
args:
708730
- --csi-address=/csi/csi.sock
709731
- --kubelet-registration-path=/var/lib/kubelet/plugins/blockvolume.csi.oraclecloud.com/csi.sock
710-
image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.5.1
732+
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1
711733
securityContext:
712734
privileged: true
713735
lifecycle:
@@ -726,7 +748,7 @@ data:
726748
args:
727749
- --csi-address=/fss/csi.sock
728750
- --kubelet-registration-path=/var/lib/kubelet/plugins/fss.csi.oraclecloud.com/csi.sock
729-
image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.5.0
751+
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.0
730752
securityContext:
731753
privileged: true
732754
lifecycle:
@@ -805,65 +827,65 @@ data:
805827
name: csi-oci
806828
namespace: kube-system
807829
rules:
808-
- apiGroups: [""]
809-
resources: ["events"]
810-
verbs: ["get", "list", "watch", "create", "update", "patch"]
811-
- apiGroups: [""]
812-
resources: ["nodes"]
813-
verbs: ["get", "list", "watch"]
814-
- apiGroups: ["volume.oci.oracle.com"]
815-
resources: ["blockscsiinfos"]
816-
verbs: ["get", "list", "watch", "create", "delete", "update", "patch"]
817-
- apiGroups: [""]
818-
resources: ["persistentvolumes"]
819-
verbs: ["get", "list", "watch", "create", "delete", "patch"]
820-
- apiGroups: [""]
821-
resources: ["persistentvolumeclaims"]
822-
verbs: ["get", "list", "watch", "update", "create"]
823-
- apiGroups: ["storage.k8s.io"]
824-
resources: ["storageclasses", "volumeattachments", "volumeattachments/status", "csinodes"]
825-
verbs: ["get", "list", "watch", "patch"]
826-
- apiGroups: ["coordination.k8s.io"]
827-
resources: ["leases"]
828-
verbs: ["get", "list", "watch", "create", "delete", "update", "patch"]
829-
- apiGroups: [""]
830-
resources: ["endpoints"]
831-
verbs: ["get", "watch", "create", "update"]
832-
- apiGroups: [""]
833-
resources: ["pods"]
834-
verbs: ["get", "list", "watch"]
835-
- apiGroups: [""]
836-
resources: ["persistentvolumeclaims/status"]
837-
verbs: ["patch"]
838-
- apiGroups: [ "snapshot.storage.k8s.io" ]
839-
resources: [ "volumesnapshotclasses" ]
840-
verbs: [ "get", "list", "watch" ]
841-
- apiGroups: [ "snapshot.storage.k8s.io" ]
842-
resources: [ "volumesnapshotcontents" ]
843-
verbs: [ "create", "get", "list", "watch", "update", "delete", "patch" ]
844-
- apiGroups: [ "snapshot.storage.k8s.io" ]
845-
resources: [ "volumesnapshotcontents/status" ]
846-
verbs: [ "update", "patch" ]
847-
- apiGroups: [ "snapshot.storage.k8s.io" ]
848-
resources: [ "volumesnapshots" ]
849-
verbs: [ "get", "list", "watch", "update", "patch" ]
850-
- apiGroups: [ "snapshot.storage.k8s.io" ]
851-
resources: [ "volumesnapshots/status" ]
852-
verbs: [ "update", "patch" ]
830+
- apiGroups: [""]
831+
resources: ["events"]
832+
verbs: ["get", "list", "watch", "create", "update", "patch"]
833+
- apiGroups: [""]
834+
resources: ["nodes"]
835+
verbs: ["get", "list", "watch"]
836+
- apiGroups: ["volume.oci.oracle.com"]
837+
resources: ["blockscsiinfos"]
838+
verbs: ["get", "list", "watch", "create", "delete", "update", "patch"]
839+
- apiGroups: [""]
840+
resources: ["persistentvolumes"]
841+
verbs: ["get", "list", "watch", "create", "delete", "patch"]
842+
- apiGroups: [""]
843+
resources: ["persistentvolumeclaims"]
844+
verbs: ["get", "list", "watch", "update", "create"]
845+
- apiGroups: ["storage.k8s.io"]
846+
resources: ["storageclasses", "volumeattachments", "volumeattachments/status", "csinodes"]
847+
verbs: ["get", "list", "watch", "patch"]
848+
- apiGroups: ["coordination.k8s.io"]
849+
resources: ["leases"]
850+
verbs: ["get", "list", "watch", "create", "delete", "update", "patch"]
851+
- apiGroups: [""]
852+
resources: ["endpoints"]
853+
verbs: ["get", "watch", "create", "update"]
854+
- apiGroups: [""]
855+
resources: ["pods"]
856+
verbs: ["get", "list", "watch"]
857+
- apiGroups: [""]
858+
resources: ["persistentvolumeclaims/status"]
859+
verbs: ["patch"]
860+
- apiGroups: [ "snapshot.storage.k8s.io" ]
861+
resources: [ "volumesnapshotclasses" ]
862+
verbs: [ "get", "list", "watch" ]
863+
- apiGroups: [ "snapshot.storage.k8s.io" ]
864+
resources: [ "volumesnapshotcontents" ]
865+
verbs: [ "create", "get", "list", "watch", "update", "delete", "patch" ]
866+
- apiGroups: [ "snapshot.storage.k8s.io" ]
867+
resources: [ "volumesnapshotcontents/status" ]
868+
verbs: [ "update", "patch" ]
869+
- apiGroups: [ "snapshot.storage.k8s.io" ]
870+
resources: [ "volumesnapshots" ]
871+
verbs: [ "get", "list", "watch", "update", "patch" ]
872+
- apiGroups: [ "snapshot.storage.k8s.io" ]
873+
resources: [ "volumesnapshots/status" ]
874+
verbs: [ "update", "patch" ]
853875
---
854876
855877
kind: ClusterRoleBinding
856878
apiVersion: rbac.authorization.k8s.io/v1
857879
metadata:
858-
name: csi-oci-binding
880+
name: csi-oci-binding
859881
subjects:
860-
- kind: ServiceAccount
861-
name: csi-oci-node-sa
862-
namespace: kube-system
882+
- kind: ServiceAccount
883+
name: csi-oci-node-sa
884+
namespace: kube-system
863885
roleRef:
864-
kind: ClusterRole
865-
name: csi-oci
866-
apiGroup: rbac.authorization.k8s.io
886+
kind: ClusterRole
887+
name: csi-oci
888+
apiGroup: rbac.authorization.k8s.io
867889
---
868890
kind: StorageClass
869891
apiVersion: storage.k8s.io/v1

test/e2e/config/e2e_conf.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ providers:
88
- name: cluster-api
99
type: CoreProvider
1010
versions:
11-
- name: v1.5.0
12-
value: https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.0/core-components.yaml
11+
- name: v1.5.7
12+
value: https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.7/core-components.yaml
1313
type: url
1414
files:
1515
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
@@ -21,8 +21,8 @@ providers:
2121
- name: kubeadm
2222
type: BootstrapProvider
2323
versions:
24-
- name: v1.5.0
25-
value: https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.0/bootstrap-components.yaml
24+
- name: v1.5.7
25+
value: https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.7/bootstrap-components.yaml
2626
type: url
2727
files:
2828
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
@@ -34,8 +34,8 @@ providers:
3434
- name: kubeadm
3535
type: ControlPlaneProvider
3636
versions:
37-
- name: v1.5.0
38-
value: https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.0/control-plane-components.yaml
37+
- name: v1.5.7
38+
value: https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.4.3/control-plane-components.yaml
3939
type: url
4040
files:
4141
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
@@ -80,9 +80,9 @@ providers:
8080
- sourcePath: "../data/infrastructure-oci/v1beta2/metadata.yaml"
8181

8282
variables:
83-
KUBERNETES_VERSION: "v1.26.6"
84-
OCI_MANAGED_KUBERNETES_VERSION: "v1.25.4"
85-
OCI_MANAGED_KUBERNETES_VERSION_UPGRADE: "v1.26.2"
83+
KUBERNETES_VERSION: "v1.28.7"
84+
OCI_MANAGED_KUBERNETES_VERSION: "v1.27.2"
85+
OCI_MANAGED_KUBERNETES_VERSION_UPGRADE: "v1.28.2"
8686
EXP_MACHINE_POOL: "true"
8787
EXP_CLUSTER_RESOURCE_SET: "true"
8888
NODE_DRAIN_TIMEOUT: "60s"
@@ -92,8 +92,8 @@ variables:
9292
CCM_PATH: "${PWD}/test/e2e/data/ccm/ccm.yaml"
9393
CONFORMANCE_WORKER_MACHINE_COUNT: "2"
9494
CONFORMANCE_CONTROL_PLANE_MACHINE_COUNT: "1"
95-
KUBERNETES_VERSION_UPGRADE_TO: "v1.26.6"
96-
KUBERNETES_VERSION_UPGRADE_FROM: "v1.25.6"
95+
KUBERNETES_VERSION_UPGRADE_TO: "v1.28.7"
96+
KUBERNETES_VERSION_UPGRADE_FROM: "v1.27.1"
9797
KUBERNETES_UPGRADE_OCI_IMAGE_ID: "${KUBERNETES_UPGRADE_OCI_IMAGE_ID}"
9898
IP_FAMILY: "IPv4"
9999
CLUSTER_TOPOLOGY: "true"

0 commit comments

Comments
 (0)