Skip to content

Commit d0fba75

Browse files
committed
Update cluster-template-oci-addons to 1.26
1 parent e1f31ca commit d0fba75

File tree

1 file changed

+37
-5
lines changed

1 file changed

+37
-5
lines changed

templates/cluster-template-oci-addons.yaml

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ data:
465465
node-role.kubernetes.io/control-plane: ""
466466
containers:
467467
- name: csi-volume-provisioner
468-
image: k8s.gcr.io/sig-storage/csi-provisioner:v3.2.1
468+
image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0
469469
args:
470470
- --csi-address=/var/run/shared-tmpfs/csi.sock
471471
- --volume-name-prefix=csi
@@ -480,7 +480,7 @@ data:
480480
- mountPath: /var/run/shared-tmpfs
481481
name: shared-tmpfs
482482
- name: csi-fss-volume-provisioner
483-
image: k8s.gcr.io/sig-storage/csi-provisioner:v3.2.1
483+
image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0
484484
args:
485485
- --csi-address=/var/run/shared-tmpfs/csi-fss.sock
486486
- --volume-name-prefix=csi-fss
@@ -516,6 +516,23 @@ data:
516516
volumeMounts:
517517
- mountPath: /var/run/shared-tmpfs
518518
name: shared-tmpfs
519+
- name: snapshot-controller
520+
image: registry.k8s.io/sig-storage/snapshot-controller:v6.2.0
521+
args:
522+
- --leader-election
523+
imagePullPolicy: "IfNotPresent"
524+
volumeMounts:
525+
- mountPath: /var/run/shared-tmpfs
526+
name: shared-tmpfs
527+
- name: csi-snapshotter
528+
image: registry.k8s.io/sig-storage/csi-snapshotter:v6.2.0
529+
args:
530+
- --csi-address=/var/run/shared-tmpfs/csi.sock
531+
- --leader-election
532+
imagePullPolicy: "IfNotPresent"
533+
volumeMounts:
534+
- mountPath: /var/run/shared-tmpfs
535+
name: shared-tmpfs
519536
- name: oci-csi-controller-driver
520537
args:
521538
- --endpoint=unix://var/run/shared-tmpfs/csi.sock
@@ -673,7 +690,7 @@ data:
673690
fieldPath: spec.nodeName
674691
- name: PATH
675692
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.25.0
693+
image: ghcr.io/oracle/cloud-provider-oci:v1.26.0
677694
securityContext:
678695
privileged: true
679696
volumeMounts:
@@ -835,8 +852,23 @@ data:
835852
- apiGroups: [""]
836853
resources: ["persistentvolumeclaims/status"]
837854
verbs: ["patch"]
855+
- apiGroups: [ "snapshot.storage.k8s.io" ]
856+
resources: [ "volumesnapshotclasses" ]
857+
verbs: [ "get", "list", "watch" ]
858+
- apiGroups: [ "snapshot.storage.k8s.io" ]
859+
resources: [ "volumesnapshotcontents" ]
860+
verbs: [ "create", "get", "list", "watch", "update", "delete", "patch" ]
861+
- apiGroups: [ "snapshot.storage.k8s.io" ]
862+
resources: [ "volumesnapshotcontents/status" ]
863+
verbs: [ "update", "patch" ]
864+
- apiGroups: [ "snapshot.storage.k8s.io" ]
865+
resources: [ "volumesnapshots" ]
866+
verbs: [ "get", "list", "watch", "update", "patch" ]
867+
- apiGroups: [ "snapshot.storage.k8s.io" ]
868+
resources: [ "volumesnapshots/status" ]
869+
verbs: [ "update", "patch" ]
838870
---
839-
871+
840872
kind: ClusterRoleBinding
841873
apiVersion: rbac.authorization.k8s.io/v1
842874
metadata:
@@ -848,7 +880,7 @@ data:
848880
roleRef:
849881
kind: ClusterRole
850882
name: csi-oci
851-
apiGroup: rbac.authorization.k8s.io
883+
apiGroup: rbac.authorization.k8s.io
852884
---
853885
kind: StorageClass
854886
apiVersion: storage.k8s.io/v1

0 commit comments

Comments
 (0)