mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-06 18:17:47 +03:00
* Add huaweicloud as external cloud controller * Add huaweicloud example config * Rename AK,SK to ACCESS_KEY and SECRET_KEY * Add reference to huaweicloud * Fix variable naming * Fix env var name * Update example * Fix variable naming * Fix cloud_config path * Add namespace for leader election * Revert reviewers * Delete OWNERS Delete owners who are not responsible here. * Fix build validation
24 lines
949 B
Django/Jinja
24 lines
949 B
Django/Jinja
[Global]
|
|
auth-url="{{ external_huaweicloud_auth_url }}"
|
|
{% if external_huaweicloud_access_key is defined and external_huaweicloud_access_key != "" %}
|
|
access-key={{ external_huaweicloud_access_key }}
|
|
{% endif %}
|
|
{% if external_huaweicloud_secret_key is defined and external_huaweicloud_secret_key != "" %}
|
|
secret-key={{ external_huaweicloud_secret_key }}
|
|
{% endif %}
|
|
region="{{ external_huaweicloud_region }}"
|
|
{% if external_huaweicloud_project_id is defined and external_huaweicloud_project_id != "" %}
|
|
project-id="{{ external_huaweicloud_project_id }}"
|
|
{% endif %}
|
|
{% if external_huaweicloud_cloud is defined and external_huaweicloud_cloud != "" %}
|
|
cloud="{{ external_huaweicloud_cloud }}"
|
|
{% endif %}
|
|
|
|
[VPC]
|
|
{% if external_huaweicloud_lbaas_subnet_id is defined %}
|
|
subnet-id={{ external_huaweicloud_lbaas_subnet_id }}
|
|
{% endif %}
|
|
{% if external_huaweicloud_lbaas_network_id is defined %}
|
|
id={{ external_huaweicloud_lbaas_network_id }}
|
|
{% endif %}
|