Browse Source

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

pull/8046/head
Ajarmar 3 years ago
committed by GitHub
parent
commit
b5a5478a8a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions
  1. 2
      roles/kubernetes-apps/csi_driver/cinder/defaults/main.yml
  2. 4
      roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-nodeplugin.yml.j2

2
roles/kubernetes-apps/csi_driver/cinder/defaults/main.yml

@ -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: []

4
roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-nodeplugin.yml.j2

@ -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 %}
Loading…
Cancel
Save