parent
4b9f98f933
commit
29c2fbdbc1
1 changed files with 3 additions and 8 deletions
|
@ -50,14 +50,9 @@
|
||||||
{% for d in [ 'default.svc.' + dns_domain, 'svc.' + dns_domain ] + searchdomains|default([]) -%}
|
{% for d in [ 'default.svc.' + dns_domain, 'svc.' + dns_domain ] + searchdomains|default([]) -%}
|
||||||
{{ dns_domain }}.{{ d }}./{{ d }}.{{ d }}./com.{{ d }}./
|
{{ dns_domain }}.{{ d }}./{{ d }}.{{ d }}./com.{{ d }}./
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
cloud_resolver: >-
|
cloud_resolver: "{{ ['169.254.169.254'] if cloud_provider is defined and cloud_provider == 'gce' else
|
||||||
{%- if cloud_provider is defined and cloud_provider == 'gce' -%}
|
['169.254.169.253'] if cloud_provider is defined and cloud_provider == 'aws' else
|
||||||
['169.254.169.254']
|
[] }}"
|
||||||
{%- elif cloud_provider is defined and cloud_provider == 'aws' -%}
|
|
||||||
['169.254.169.253']
|
|
||||||
{%- else -%}
|
|
||||||
[]
|
|
||||||
{%- endif -%}
|
|
||||||
|
|
||||||
- name: check if kubelet is configured
|
- name: check if kubelet is configured
|
||||||
stat:
|
stat:
|
||||||
|
|
Loading…
Reference in a new issue