Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ parameters:
charts:
csi-cloudscale:
source: https://cloudscale-ch.github.io/csi-cloudscale
version: 1.4.1
version: 1.5.0

images:
cloudscale-csi-plugin:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ rules:
- list
- watch
- create
- patch
- delete
- apiGroups:
- ''
Expand Down Expand Up @@ -56,6 +57,18 @@ rules:
verbs:
- get
- list
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- storage.k8s.io
resources:
Expand Down Expand Up @@ -123,6 +136,56 @@ rules:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: csi-cloudscale-snapshotter-role
rules:
- apiGroups:
- snapshot.storage.k8s.io
resources:
- volumesnapshots
verbs:
- get
- list
- watch
- update
- apiGroups:
- snapshot.storage.k8s.io
resources:
- volumesnapshotcontents
verbs:
- get
- list
- watch
- update
- patch
- apiGroups:
- snapshot.storage.k8s.io
resources:
- volumesnapshotcontents/status
verbs:
- update
- patch
- apiGroups:
- snapshot.storage.k8s.io
resources:
- volumesnapshotclasses
verbs:
- get
- list
- watch
- apiGroups:
- ''
resources:
- events
verbs:
- list
- watch
- create
- update
- patch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: csi-cloudscale-resizer-role
rules:
Expand Down Expand Up @@ -210,6 +273,19 @@ subjects:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: csi-cloudscale-snapshotter-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: csi-cloudscale-snapshotter-role
subjects:
- kind: ServiceAccount
name: csi-cloudscale-controller-sa
namespace: syn-csi-cloudscale
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: csi-cloudscale-resizer-binding
roleRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,23 @@ spec:
volumeMounts:
- mountPath: /var/lib/csi/sockets/pluginproxy/
name: socket-dir
- args:
- --csi-address=$(CSI_ENDPOINT)
- --v=5
env:
- name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
image: registry.k8s.io/sig-storage/csi-snapshotter:v8.4.0
name: csi-snapshotter
resources:
limits:
memory: 1Gi
requests:
cpu: 20m
memory: 32Mi
volumeMounts:
- mountPath: /var/lib/csi/sockets/pluginproxy/
name: socket-dir
- args:
- --endpoint=$(CSI_ENDPOINT)
- --url=$(CLOUDSCALE_API_URL)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: snapshot.storage.k8s.io/v1
deletionPolicy: Delete
driver: csi.cloudscale.ch
kind: VolumeSnapshotClass
metadata:
name: cloudscale-snapshots
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ rules:
- list
- watch
- create
- patch
- delete
- apiGroups:
- ''
Expand Down Expand Up @@ -56,6 +57,18 @@ rules:
verbs:
- get
- list
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- storage.k8s.io
resources:
Expand Down Expand Up @@ -123,6 +136,56 @@ rules:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: csi-cloudscale-snapshotter-role
rules:
- apiGroups:
- snapshot.storage.k8s.io
resources:
- volumesnapshots
verbs:
- get
- list
- watch
- update
- apiGroups:
- snapshot.storage.k8s.io
resources:
- volumesnapshotcontents
verbs:
- get
- list
- watch
- update
- patch
- apiGroups:
- snapshot.storage.k8s.io
resources:
- volumesnapshotcontents/status
verbs:
- update
- patch
- apiGroups:
- snapshot.storage.k8s.io
resources:
- volumesnapshotclasses
verbs:
- get
- list
- watch
- apiGroups:
- ''
resources:
- events
verbs:
- list
- watch
- create
- update
- patch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: csi-cloudscale-resizer-role
rules:
Expand Down Expand Up @@ -210,6 +273,19 @@ subjects:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: csi-cloudscale-snapshotter-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: csi-cloudscale-snapshotter-role
subjects:
- kind: ServiceAccount
name: csi-cloudscale-controller-sa
namespace: syn-csi-cloudscale
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: csi-cloudscale-resizer-binding
roleRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,21 @@ spec:
volumeMounts:
- mountPath: /var/lib/csi/sockets/pluginproxy/
name: socket-dir
- args:
- --csi-address=$(CSI_ENDPOINT)
- --v=5
env:
- name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
image: registry.k8s.io/sig-storage/csi-snapshotter:v8.4.0
name: csi-snapshotter
resources:
requests:
cpu: 20m
memory: 32Mi
volumeMounts:
- mountPath: /var/lib/csi/sockets/pluginproxy/
name: socket-dir
- args:
- --endpoint=$(CSI_ENDPOINT)
- --url=$(CLOUDSCALE_API_URL)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: snapshot.storage.k8s.io/v1
deletionPolicy: Delete
driver: csi.cloudscale.ch
kind: VolumeSnapshotClass
metadata:
name: cloudscale-snapshots
Loading