Skip to content

Commit

Permalink
Added tolerations for cinder-csi-nodeplugin DaemonSet (kubernetes-sig…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajarmar authored and LuckySB committed Jun 28, 2023
1 parent 6007766 commit 88023ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/kubernetes-apps/csi_driver/cinder/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ cinder_csi_controller_replicas: 1
# log on resize event. It is recommended to disable this option in this case.
# Defaults to false
# cinder_csi_rescan_on_resize: true

cinder_tolerations: []
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,7 @@ spec:
path: {{ kube_config_dir }}/cinder-cacert.pem
type: FileOrCreate
{% endif %}
{% if cinder_tolerations %}
tolerations:
{{ cinder_tolerations | to_nice_yaml(indent=2) | indent(width=8) }}
{% endif %}

0 comments on commit 88023ac

Please sign in to comment.