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([]) -%}
|
||||
{{ dns_domain }}.{{ d }}./{{ d }}.{{ d }}./com.{{ d }}./
|
||||
{%- endfor %}
|
||||
cloud_resolver: >-
|
||||
{%- if cloud_provider is defined and cloud_provider == 'gce' -%}
|
||||
['169.254.169.254']
|
||||
{%- elif cloud_provider is defined and cloud_provider == 'aws' -%}
|
||||
['169.254.169.253']
|
||||
{%- else -%}
|
||||
[]
|
||||
{%- endif -%}
|
||||
cloud_resolver: "{{ ['169.254.169.254'] if cloud_provider is defined and cloud_provider == 'gce' else
|
||||
['169.254.169.253'] if cloud_provider is defined and cloud_provider == 'aws' else
|
||||
[] }}"
|
||||
|
||||
- name: check if kubelet is configured
|
||||
stat:
|
||||
|
|
Loading…
Reference in a new issue