From ba18d1dc22d98a1302ead5ee770b1db15b29cf45 Mon Sep 17 00:00:00 2001 From: Alessandro Degano Date: Tue, 22 Oct 2024 14:41:40 +0200 Subject: [PATCH] fix: Allow to set resources for the node-plugin pod. The changes to values.yaml are aestetic only. --- deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml | 3 ++- deploy/csi-rclone/values.yaml | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml b/deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml index 4ae7904..362835b 100644 --- a/deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml +++ b/deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml @@ -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 diff --git a/deploy/csi-rclone/values.yaml b/deploy/csi-rclone/values.yaml index ea81405..556eeab 100644 --- a/deploy/csi-rclone/values.yaml +++ b/deploy/csi-rclone/values.yaml @@ -1,4 +1,4 @@ -storageClassName: csi-rclone +storageClassName: csi-rclone csiControllerRclone: csiAttacher: image: @@ -26,7 +26,6 @@ csiControllerRclone: replicas: 1 serviceAccount: annotations: {} - csiNodepluginRclone: nodeDriverRegistrar: @@ -39,7 +38,7 @@ csiNodepluginRclone: allowPrivilegeEscalation: true capabilities: add: - - SYS_ADMIN + - SYS_ADMIN privileged: true image: repository: csi-rclone