Browse Source
Added tolerations for cinder-csi-nodeplugin DaemonSet (#8137)
pull/8046/head
Ajarmar
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
0 deletions
-
roles/kubernetes-apps/csi_driver/cinder/defaults/main.yml
-
roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-nodeplugin.yml.j2
|
@ -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: [] |
|
@ -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 %} |