Added tolerations for cinder-csi-nodeplugin DaemonSet (#8137)

This commit is contained in:
Ajarmar 2021-11-11 20:48:07 +01:00 committed by GitHub
parent 0d0468e127
commit b5a5478a8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -26,3 +26,5 @@ cinder_csi_controller_replicas: 1
# log on resize event. It is recommended to disable this option in this case. # log on resize event. It is recommended to disable this option in this case.
# Defaults to false # Defaults to false
# cinder_csi_rescan_on_resize: true # cinder_csi_rescan_on_resize: true
cinder_tolerations: []

View file

@ -121,3 +121,7 @@ spec:
path: {{ kube_config_dir }}/cinder-cacert.pem path: {{ kube_config_dir }}/cinder-cacert.pem
type: FileOrCreate type: FileOrCreate
{% endif %} {% endif %}
{% if cinder_tolerations %}
tolerations:
{{ cinder_tolerations | to_nice_yaml(indent=2) | indent(width=8) }}
{% endif %}