Skip to content

Commit

Permalink
Increase default provisioner, resizer, snapshotter retry-interval-max
Browse files Browse the repository at this point in the history
Signed-off-by: hanenMizouni <[email protected]>
  • Loading branch information
outscale-hmi committed Oct 1, 2024
1 parent 4256c91 commit 0eb8260
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions osc-bsu-csi-driver/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ spec:
- name: csi-provisioner
image: {{ printf "%s:%s" .Values.sidecars.provisionerImage.repository .Values.sidecars.provisionerImage.tag }}
args:
{{- if not (regexMatch "(-retry-interval-max)" (join " " .Values.sidecars.provisionerImage.additionalArgs)) }}
- --retry-interval-max=30m
{{- end }}
- --csi-address=$(ADDRESS)
- --v={{ .Values.verbosity }}
{{- if .Values.enableVolumeScheduling }}
Expand Down Expand Up @@ -189,6 +192,9 @@ spec:
- name: csi-attacher
image: {{ printf "%s:%s" .Values.sidecars.attacherImage.repository .Values.sidecars.attacherImage.tag }}
args:
{{- if not (regexMatch "(-retry-interval-max)" (join " " .Values.sidecars.attacherImage.additionalArgs)) }}
- --retry-interval-max=30m
{{- end }}
- --csi-address=$(ADDRESS)
- --v={{ .Values.verbosity }}
# Dynamically adding additionalArgs from values.yaml
Expand Down Expand Up @@ -235,6 +241,9 @@ spec:
- name: csi-snapshotter
image: {{ printf "%s:%s" .Values.sidecars.snapshotterImage.repository .Values.sidecars.snapshotterImage.tag }}
args:
{{- if not (regexMatch "(-retry-interval-max)" (join " " .Values.sidecars.snapshotterImage.additionalArgs)) }}
- --retry-interval-max=30m
{{- end }}
- --csi-address=$(ADDRESS)
# Dynamically adding additionalArgs from values.yaml
{{- range .Values.sidecars.snapshotterImage.additionalArgs }}
Expand Down Expand Up @@ -281,6 +290,9 @@ spec:
image: {{ printf "%s:%s" .Values.sidecars.resizerImage.repository .Values.sidecars.resizerImage.tag }}
imagePullPolicy: Always
args:
{{- if not (regexMatch "(-retry-interval-max)" (join " " .Values.sidecars.resizerImage.additionalArgs)) }}
- --retry-interval-max=30m
{{- end }}
- --csi-address=$(ADDRESS)
- --v={{ .Values.verbosity }}
- --timeout={{ .Values.timeout }}
Expand Down

0 comments on commit 0eb8260

Please sign in to comment.