mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-20 15:27:56 -02:30
Fix Cinder CSI bugs (#5492)
This commit is contained in:
@@ -3,9 +3,7 @@ auth-url="{{ cinder_auth_url }}"
|
||||
username="{{ cinder_username }}"
|
||||
password="{{ cinder_password }}"
|
||||
region="{{ cinder_region }}"
|
||||
{% if cinder_trust_id is defined and cinder_trust_id != "" %}
|
||||
trust-id="{{ cinder_trust_id }}"
|
||||
{% else %}
|
||||
{% if cinder_tenant_id is defined and cinder_tenant_id != "" %}
|
||||
tenant-id="{{ cinder_tenant_id }}"
|
||||
{% endif %}
|
||||
{% if cinder_tenant_name is defined and cinder_tenant_name != "" %}
|
||||
|
||||
@@ -90,7 +90,7 @@ spec:
|
||||
- name: secret-cinderplugin
|
||||
mountPath: /etc/config
|
||||
readOnly: true
|
||||
{% if cinder_cacert is defined %}
|
||||
{% if cinder_cacert is defined and cinder_cacert != "" %}
|
||||
- name: cinder-cacert
|
||||
mountPath: {{ kube_config_dir }}/cinder-cacert.pem
|
||||
readOnly: true
|
||||
@@ -101,7 +101,7 @@ spec:
|
||||
- name: secret-cinderplugin
|
||||
secret:
|
||||
secretName: cloud-config
|
||||
{% if cinder_cacert is defined %}
|
||||
{% if cinder_cacert is defined and cinder_cacert != "" %}
|
||||
- name: cinder-cacert
|
||||
hostPath:
|
||||
path: {{ kube_config_dir }}/cinder-cacert.pem
|
||||
|
||||
Reference in New Issue
Block a user