From 9f9579eec5b9cb5f812959e52b15eb7172df9307 Mon Sep 17 00:00:00 2001 From: Abhinandan Purkait Date: Thu, 12 Dec 2024 15:38:10 +0000 Subject: [PATCH] feat(helm chart): add timeout for csi attacher and remove command from csi node Signed-off-by: Abhinandan Purkait --- chart/templates/mayastor/csi/csi-controller-deployment.yaml | 1 + chart/templates/mayastor/csi/csi-node-daemonset.yaml | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/chart/templates/mayastor/csi/csi-controller-deployment.yaml b/chart/templates/mayastor/csi/csi-controller-deployment.yaml index 11e7cac62..91f67452f 100644 --- a/chart/templates/mayastor/csi/csi-controller-deployment.yaml +++ b/chart/templates/mayastor/csi/csi-controller-deployment.yaml @@ -63,6 +63,7 @@ spec: image: "{{ .Values.csi.image.registry }}/{{ .Values.csi.image.repo }}/csi-attacher:{{ .Values.csi.image.attacherTag }}" args: - "--v=2" + - "--timeout=36s" - "--csi-address=$(ADDRESS)" env: - name: ADDRESS diff --git a/chart/templates/mayastor/csi/csi-node-daemonset.yaml b/chart/templates/mayastor/csi/csi-node-daemonset.yaml index 4264005b4..01afe41b9 100644 --- a/chart/templates/mayastor/csi/csi-node-daemonset.yaml +++ b/chart/templates/mayastor/csi/csi-node-daemonset.yaml @@ -104,8 +104,6 @@ spec: {{- end }} - "--fmt-style={{ include "logFormat" . }}" - "--ansi-colors={{ .Values.base.logging.color }}" - command: - - csi-node volumeMounts: - name: device mountPath: /dev