Skip to content

Commit

Permalink
Merge pull request #36 from SwissDataScienceCenter/fix_resources_node…
Browse files Browse the repository at this point in the history
…plugin

fix: Allow to set resources for the node-plugin pod.
  • Loading branch information
aledegano authored Oct 22, 2024
2 parents 003aaaa + ba18d1d commit 14d554c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ spec:
- /bin/sh
- -c
- rm -rf /registration/{{ .Values.storageClassName }} /registration/{{ .Values.storageClassName }}-reg.sock
resources: {}
resources:
{{- toYaml .Values.csiNodepluginRclone.rclone.resources | nindent 12 }}
volumeMounts:
- mountPath: /plugin
name: plugin-dir
Expand Down
5 changes: 2 additions & 3 deletions deploy/csi-rclone/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
storageClassName: csi-rclone
storageClassName: csi-rclone
csiControllerRclone:
csiAttacher:
image:
Expand Down Expand Up @@ -26,7 +26,6 @@ csiControllerRclone:
replicas: 1
serviceAccount:
annotations: {}


csiNodepluginRclone:
nodeDriverRegistrar:
Expand All @@ -39,7 +38,7 @@ csiNodepluginRclone:
allowPrivilegeEscalation: true
capabilities:
add:
- SYS_ADMIN
- SYS_ADMIN
privileged: true
image:
repository: csi-rclone
Expand Down

0 comments on commit 14d554c

Please sign in to comment.