c12s-kubespray/roles/kubernetes/preinstall/templates/openstack-cloud-config.j2
2017-08-20 13:59:15 +03:00

18 lines
654 B
Django/Jinja

[Global]
auth-url={{ openstack_auth_url }}
username={{ openstack_username }}
password={{ openstack_password }}
region={{ openstack_region }}
tenant-id={{ openstack_tenant_id }}
{% if openstack_domain_name is defined and openstack_domain_name != "" %}
domain-name={{ openstack_domain_name }}
{% endif %}
{% if openstack_lbaas_enabled and openstack_lbaas_subnet_id %}
[LoadBalancer]
subnet-id={{ openstack_lbaas_subnet_id }}
create-monitor={{ openstack_lbaas_create_monitor }}
monitor-delay={{ openstack_lbaas_monitor_delay }}
monitor-timeout={{ openstack_lbaas_monitor_timeout }}
monitor-max-retries={{ openstack_lbaas_monitor_max_retries }}
{% endif %}