File tree Expand file tree Collapse file tree
defaults/csi-cloudscale/csi-cloudscale/01_helm_chart/csi-cloudscale/templates
openshift4/csi-cloudscale/csi-cloudscale/01_helm_chart/csi-cloudscale/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ parameters:
77 charts :
88 csi-cloudscale :
99 source : https://cloudscale-ch.github.io/csi-cloudscale
10- version : 1.4.1
10+ version : 1.5.0
1111
1212 images :
1313 cloudscale-csi-plugin :
Original file line number Diff line number Diff line change 1212 - list
1313 - watch
1414 - create
15+ - patch
1516 - delete
1617 - apiGroups :
1718 - ' '
@@ -56,6 +57,18 @@ rules:
5657 verbs :
5758 - get
5859 - list
60+ - apiGroups :
61+ - coordination.k8s.io
62+ resources :
63+ - leases
64+ verbs :
65+ - get
66+ - list
67+ - watch
68+ - create
69+ - update
70+ - patch
71+ - delete
5972 - apiGroups :
6073 - storage.k8s.io
6174 resources :
@@ -123,6 +136,56 @@ rules:
123136---
124137apiVersion : rbac.authorization.k8s.io/v1
125138kind : ClusterRole
139+ metadata :
140+ name : csi-cloudscale-snapshotter-role
141+ rules :
142+ - apiGroups :
143+ - snapshot.storage.k8s.io
144+ resources :
145+ - volumesnapshots
146+ verbs :
147+ - get
148+ - list
149+ - watch
150+ - update
151+ - apiGroups :
152+ - snapshot.storage.k8s.io
153+ resources :
154+ - volumesnapshotcontents
155+ verbs :
156+ - get
157+ - list
158+ - watch
159+ - update
160+ - patch
161+ - apiGroups :
162+ - snapshot.storage.k8s.io
163+ resources :
164+ - volumesnapshotcontents/status
165+ verbs :
166+ - update
167+ - patch
168+ - apiGroups :
169+ - snapshot.storage.k8s.io
170+ resources :
171+ - volumesnapshotclasses
172+ verbs :
173+ - get
174+ - list
175+ - watch
176+ - apiGroups :
177+ - ' '
178+ resources :
179+ - events
180+ verbs :
181+ - list
182+ - watch
183+ - create
184+ - update
185+ - patch
186+ ---
187+ apiVersion : rbac.authorization.k8s.io/v1
188+ kind : ClusterRole
126189metadata :
127190 name : csi-cloudscale-resizer-role
128191rules :
@@ -210,6 +273,19 @@ subjects:
210273---
211274apiVersion : rbac.authorization.k8s.io/v1
212275kind : ClusterRoleBinding
276+ metadata :
277+ name : csi-cloudscale-snapshotter-binding
278+ roleRef :
279+ apiGroup : rbac.authorization.k8s.io
280+ kind : ClusterRole
281+ name : csi-cloudscale-snapshotter-role
282+ subjects :
283+ - kind : ServiceAccount
284+ name : csi-cloudscale-controller-sa
285+ namespace : syn-csi-cloudscale
286+ ---
287+ apiVersion : rbac.authorization.k8s.io/v1
288+ kind : ClusterRoleBinding
213289metadata :
214290 name : csi-cloudscale-resizer-binding
215291roleRef :
Original file line number Diff line number Diff line change 6767 volumeMounts :
6868 - mountPath : /var/lib/csi/sockets/pluginproxy/
6969 name : socket-dir
70+ - args :
71+ - --csi-address=$(CSI_ENDPOINT)
72+ - --v=5
73+ env :
74+ - name : CSI_ENDPOINT
75+ value : unix:///var/lib/csi/sockets/pluginproxy/csi.sock
76+ image : registry.k8s.io/sig-storage/csi-snapshotter:v8.4.0
77+ name : csi-snapshotter
78+ resources :
79+ limits :
80+ memory : 1Gi
81+ requests :
82+ cpu : 20m
83+ memory : 32Mi
84+ volumeMounts :
85+ - mountPath : /var/lib/csi/sockets/pluginproxy/
86+ name : socket-dir
7087 - args :
7188 - --endpoint=$(CSI_ENDPOINT)
7289 - --url=$(CLOUDSCALE_API_URL)
Original file line number Diff line number Diff line change 1+ apiVersion : snapshot.storage.k8s.io/v1
2+ deletionPolicy : Delete
3+ driver : csi.cloudscale.ch
4+ kind : VolumeSnapshotClass
5+ metadata :
6+ name : cloudscale-snapshots
Original file line number Diff line number Diff line change 1212 - list
1313 - watch
1414 - create
15+ - patch
1516 - delete
1617 - apiGroups :
1718 - ' '
@@ -56,6 +57,18 @@ rules:
5657 verbs :
5758 - get
5859 - list
60+ - apiGroups :
61+ - coordination.k8s.io
62+ resources :
63+ - leases
64+ verbs :
65+ - get
66+ - list
67+ - watch
68+ - create
69+ - update
70+ - patch
71+ - delete
5972 - apiGroups :
6073 - storage.k8s.io
6174 resources :
@@ -123,6 +136,56 @@ rules:
123136---
124137apiVersion : rbac.authorization.k8s.io/v1
125138kind : ClusterRole
139+ metadata :
140+ name : csi-cloudscale-snapshotter-role
141+ rules :
142+ - apiGroups :
143+ - snapshot.storage.k8s.io
144+ resources :
145+ - volumesnapshots
146+ verbs :
147+ - get
148+ - list
149+ - watch
150+ - update
151+ - apiGroups :
152+ - snapshot.storage.k8s.io
153+ resources :
154+ - volumesnapshotcontents
155+ verbs :
156+ - get
157+ - list
158+ - watch
159+ - update
160+ - patch
161+ - apiGroups :
162+ - snapshot.storage.k8s.io
163+ resources :
164+ - volumesnapshotcontents/status
165+ verbs :
166+ - update
167+ - patch
168+ - apiGroups :
169+ - snapshot.storage.k8s.io
170+ resources :
171+ - volumesnapshotclasses
172+ verbs :
173+ - get
174+ - list
175+ - watch
176+ - apiGroups :
177+ - ' '
178+ resources :
179+ - events
180+ verbs :
181+ - list
182+ - watch
183+ - create
184+ - update
185+ - patch
186+ ---
187+ apiVersion : rbac.authorization.k8s.io/v1
188+ kind : ClusterRole
126189metadata :
127190 name : csi-cloudscale-resizer-role
128191rules :
@@ -210,6 +273,19 @@ subjects:
210273---
211274apiVersion : rbac.authorization.k8s.io/v1
212275kind : ClusterRoleBinding
276+ metadata :
277+ name : csi-cloudscale-snapshotter-binding
278+ roleRef :
279+ apiGroup : rbac.authorization.k8s.io
280+ kind : ClusterRole
281+ name : csi-cloudscale-snapshotter-role
282+ subjects :
283+ - kind : ServiceAccount
284+ name : csi-cloudscale-controller-sa
285+ namespace : syn-csi-cloudscale
286+ ---
287+ apiVersion : rbac.authorization.k8s.io/v1
288+ kind : ClusterRoleBinding
213289metadata :
214290 name : csi-cloudscale-resizer-binding
215291roleRef :
Original file line number Diff line number Diff line change 6767 volumeMounts :
6868 - mountPath : /var/lib/csi/sockets/pluginproxy/
6969 name : socket-dir
70+ - args :
71+ - --csi-address=$(CSI_ENDPOINT)
72+ - --v=5
73+ env :
74+ - name : CSI_ENDPOINT
75+ value : unix:///var/lib/csi/sockets/pluginproxy/csi.sock
76+ image : registry.k8s.io/sig-storage/csi-snapshotter:v8.4.0
77+ name : csi-snapshotter
78+ resources :
79+ requests :
80+ cpu : 20m
81+ memory : 32Mi
82+ volumeMounts :
83+ - mountPath : /var/lib/csi/sockets/pluginproxy/
84+ name : socket-dir
7085 - args :
7186 - --endpoint=$(CSI_ENDPOINT)
7287 - --url=$(CLOUDSCALE_API_URL)
Original file line number Diff line number Diff line change 1+ apiVersion : snapshot.storage.k8s.io/v1
2+ deletionPolicy : Delete
3+ driver : csi.cloudscale.ch
4+ kind : VolumeSnapshotClass
5+ metadata :
6+ name : cloudscale-snapshots
You can’t perform that action at this time.
0 commit comments