Skip to content

Commit

Permalink
Override controler toleration
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Dufour <[email protected]>
  • Loading branch information
sebglon authored and outscale-mdr committed Mar 7, 2024
1 parent 6ae506b commit 32671c9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
6 changes: 0 additions & 6 deletions osc-bsu-csi-driver/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ spec:
tolerations:
{{- if .Values.tolerateAllTaints }}
- operator: Exists
{{- else }}
- key: CriticalAddonsOnly
operator: Exists
- operator: Exists
effect: NoExecute
tolerationSeconds: 300
{{- end }}
{{- with .Values.tolerations }}
{{ toYaml . | indent 8 }}
Expand Down
18 changes: 12 additions & 6 deletions osc-bsu-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ timeout: 60s

backoff:
# integer in second defining initial duration
# -- Initial duraction of backoff
# -- Initial duraction of backoff
duration: "1"
# float define the factor multiplied by Duration each iteration
# -- Factor multiplied by Duration for each iteration
Expand Down Expand Up @@ -91,7 +91,7 @@ sidecars:
# -- Enable liveness probe for the container
enableLivenessProbe: false

# -- Specify image pull secrets
# -- Specify image pull secrets
imagePullSecrets: []
# -- Override name of the app (instead of `osc-bsu-csi-driver`)
nameOverride: ""
Expand All @@ -109,11 +109,11 @@ podLabels: {}
# True if enable volume scheduling for dynamic volume provisioning
enableVolumeScheduling: true

# -- Enable volume resizing
# -- Enable volume resizing
# True if enable volume resizing
enableVolumeResizing: false

# -- Enable volume snapshot
# -- Enable volume snapshot
# True if enable volume snapshot
enableVolumeSnapshot: false

Expand All @@ -136,9 +136,15 @@ nodeSelector: {}
#@ignored
tolerateAllTaints: true
# -- Pod tolerations
tolerations: []
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- operator: Exists
effect: NoExecute
tolerationSeconds: 300

# -- Affinity settings

# -- Affinity settings
affinity: {}

# Extra volume tags to attach to each dynamically provisioned volume.
Expand Down

0 comments on commit 32671c9

Please sign in to comment.