|
|
@ -17,9 +17,11 @@ spec: |
|
|
|
- --root-ca-file={{ kube_cert_dir }}/ca.pem |
|
|
|
- --enable-hostpath-provisioner={{ kube_hostpath_dynamic_provisioner }} |
|
|
|
- --v={{ kube_log_level | default('2') }} |
|
|
|
{% if cloud_provider is defined and cloud_provider == "openstack" %} |
|
|
|
- --cloud-provider=openstack |
|
|
|
{% if cloud_provider is defined and cloud_provider == "openstack"%} |
|
|
|
- --cloud-provider={{cloud_provider}} |
|
|
|
- --cloud-config={{ kube_config_dir }}/cloud_config |
|
|
|
{% elif cloud_provider is defined %} |
|
|
|
- --cloud-provider={{cloud_provider}} |
|
|
|
{% endif %} |
|
|
|
livenessProbe: |
|
|
|
httpGet: |
|
|
|