|
@ -24,6 +24,11 @@ spec: |
|
|
args: |
|
|
args: |
|
|
- "--v=5" |
|
|
- "--v=5" |
|
|
- "--csi-address=$(ADDRESS)" |
|
|
- "--csi-address=$(ADDRESS)" |
|
|
|
|
|
{% if cinder_csi_controller_replicas is defined and cinder_csi_controller_replicas > 1 %} |
|
|
|
|
|
- --leader-election |
|
|
|
|
|
- --leader-election-type=leases |
|
|
|
|
|
- --leader-election-namespace=kube-system |
|
|
|
|
|
{% endif %} |
|
|
env: |
|
|
env: |
|
|
- name: ADDRESS |
|
|
- name: ADDRESS |
|
|
value: /var/lib/csi/sockets/pluginproxy/csi.sock |
|
|
value: /var/lib/csi/sockets/pluginproxy/csi.sock |
|
@ -37,6 +42,11 @@ spec: |
|
|
- "--csi-address=$(ADDRESS)" |
|
|
- "--csi-address=$(ADDRESS)" |
|
|
{% if cinder_topology is defined and cinder_topology %} |
|
|
{% if cinder_topology is defined and cinder_topology %} |
|
|
- --feature-gates=Topology=true |
|
|
- --feature-gates=Topology=true |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% if cinder_csi_controller_replicas is defined and cinder_csi_controller_replicas > 1 %} |
|
|
|
|
|
- --enable-leader-election |
|
|
|
|
|
- --leader-election-type=leases |
|
|
|
|
|
- --leader-election-namespace=kube-system |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
env: |
|
|
env: |
|
|
- name: ADDRESS |
|
|
- name: ADDRESS |
|
@ -49,6 +59,10 @@ spec: |
|
|
image: {{ cinder_csi_snapshotter_image_repo }}:{{ cinder_csi_snapshotter_image_tag }} |
|
|
image: {{ cinder_csi_snapshotter_image_repo }}:{{ cinder_csi_snapshotter_image_tag }} |
|
|
args: |
|
|
args: |
|
|
- "--csi-address=$(ADDRESS)" |
|
|
- "--csi-address=$(ADDRESS)" |
|
|
|
|
|
{% if cinder_csi_controller_replicas is defined and cinder_csi_controller_replicas > 1 %} |
|
|
|
|
|
- --leader-election |
|
|
|
|
|
- --leader-election-namespace=kube-system |
|
|
|
|
|
{% endif %} |
|
|
env: |
|
|
env: |
|
|
- name: ADDRESS |
|
|
- name: ADDRESS |
|
|
value: /var/lib/csi/sockets/pluginproxy/csi.sock |
|
|
value: /var/lib/csi/sockets/pluginproxy/csi.sock |
|
@ -60,6 +74,10 @@ spec: |
|
|
image: {{ cinder_csi_resizer_image_repo }}:{{ cinder_csi_resizer_image_tag }} |
|
|
image: {{ cinder_csi_resizer_image_repo }}:{{ cinder_csi_resizer_image_tag }} |
|
|
args: |
|
|
args: |
|
|
- "--csi-address=$(ADDRESS)" |
|
|
- "--csi-address=$(ADDRESS)" |
|
|
|
|
|
{% if cinder_csi_controller_replicas is defined and cinder_csi_controller_replicas > 1 %} |
|
|
|
|
|
- --leader-election |
|
|
|
|
|
- --leader-election-namespace=kube-system |
|
|
|
|
|
{% endif %} |
|
|
env: |
|
|
env: |
|
|
- name: ADDRESS |
|
|
- name: ADDRESS |
|
|
value: /var/lib/csi/sockets/pluginproxy/csi.sock |
|
|
value: /var/lib/csi/sockets/pluginproxy/csi.sock |
|
|