Skip to content

Commit

Permalink
Update cluster-template-oci-addons to 1.26
Browse files Browse the repository at this point in the history
  • Loading branch information
joekr committed Jul 10, 2023
1 parent e1f31ca commit d0fba75
Showing 1 changed file with 37 additions and 5 deletions.
42 changes: 37 additions & 5 deletions templates/cluster-template-oci-addons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ data:
node-role.kubernetes.io/control-plane: ""
containers:
- name: csi-volume-provisioner
image: k8s.gcr.io/sig-storage/csi-provisioner:v3.2.1
image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0
args:
- --csi-address=/var/run/shared-tmpfs/csi.sock
- --volume-name-prefix=csi
Expand All @@ -480,7 +480,7 @@ data:
- mountPath: /var/run/shared-tmpfs
name: shared-tmpfs
- name: csi-fss-volume-provisioner
image: k8s.gcr.io/sig-storage/csi-provisioner:v3.2.1
image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0
args:
- --csi-address=/var/run/shared-tmpfs/csi-fss.sock
- --volume-name-prefix=csi-fss
Expand Down Expand Up @@ -516,6 +516,23 @@ data:
volumeMounts:
- mountPath: /var/run/shared-tmpfs
name: shared-tmpfs
- name: snapshot-controller
image: registry.k8s.io/sig-storage/snapshot-controller:v6.2.0
args:
- --leader-election
imagePullPolicy: "IfNotPresent"
volumeMounts:
- mountPath: /var/run/shared-tmpfs
name: shared-tmpfs
- name: csi-snapshotter
image: registry.k8s.io/sig-storage/csi-snapshotter:v6.2.0
args:
- --csi-address=/var/run/shared-tmpfs/csi.sock
- --leader-election
imagePullPolicy: "IfNotPresent"
volumeMounts:
- mountPath: /var/run/shared-tmpfs
name: shared-tmpfs
- name: oci-csi-controller-driver
args:
- --endpoint=unix://var/run/shared-tmpfs/csi.sock
Expand Down Expand Up @@ -673,7 +690,7 @@ data:
fieldPath: spec.nodeName
- name: PATH
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/host/usr/bin:/host/sbin
image: ghcr.io/oracle/cloud-provider-oci:v1.25.0
image: ghcr.io/oracle/cloud-provider-oci:v1.26.0
securityContext:
privileged: true
volumeMounts:
Expand Down Expand Up @@ -835,8 +852,23 @@ data:
- apiGroups: [""]
resources: ["persistentvolumeclaims/status"]
verbs: ["patch"]
- apiGroups: [ "snapshot.storage.k8s.io" ]
resources: [ "volumesnapshotclasses" ]
verbs: [ "get", "list", "watch" ]
- apiGroups: [ "snapshot.storage.k8s.io" ]
resources: [ "volumesnapshotcontents" ]
verbs: [ "create", "get", "list", "watch", "update", "delete", "patch" ]
- apiGroups: [ "snapshot.storage.k8s.io" ]
resources: [ "volumesnapshotcontents/status" ]
verbs: [ "update", "patch" ]
- apiGroups: [ "snapshot.storage.k8s.io" ]
resources: [ "volumesnapshots" ]
verbs: [ "get", "list", "watch", "update", "patch" ]
- apiGroups: [ "snapshot.storage.k8s.io" ]
resources: [ "volumesnapshots/status" ]
verbs: [ "update", "patch" ]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand All @@ -848,7 +880,7 @@ data:
roleRef:
kind: ClusterRole
name: csi-oci
apiGroup: rbac.authorization.k8s.io
apiGroup: rbac.authorization.k8s.io
---
kind: StorageClass
apiVersion: storage.k8s.io/v1
Expand Down

0 comments on commit d0fba75

Please sign in to comment.