Skip to content

Commit e803e60

Browse files
committed
Allow the timeout of the CSI driver to be set
Original work by @coolstim PR #435
1 parent fae89cf commit e803e60

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

charts/aws-fsx-csi-driver/templates/controller-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ spec:
9999
args:
100100
- --csi-address=$(ADDRESS)
101101
- --v={{ .Values.sidecars.provisioner.logLevel }}
102-
- --timeout=5m
102+
- --timeout={{ .Values.controller.timeout| default "5m" }}
103103
- --extra-create-metadata
104104
- --leader-election=true
105105
env:

charts/aws-fsx-csi-driver/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ controller:
103103
- effect: NoExecute
104104
operator: Exists
105105
tolerationSeconds: 300
106+
# Specify the timeout of all calls to the CSI driver.
107+
timeout: 5m
106108
# securityContext on the controller pod
107109
securityContext:
108110
runAsNonRoot: false

0 commit comments

Comments
 (0)