Always download coredns images with kubeadm (#5071)
Fixes situation when using manual mode because it tries to download coredns v1.3.1 from the same image repository where kubernetes images are downloaded from. Change-Id: Ibbec8a72c8162ce8befa74e2013a268737ea5f8apull/5063/head
parent
56fa46716e
commit
0a2f4edfc6
|
@ -13,9 +13,7 @@ etcd:
|
|||
{% for endpoint in etcd_access_addresses.split(',') %}
|
||||
- {{ endpoint }}
|
||||
{% endfor %}
|
||||
{% if dns_mode in ['coredns', 'coredns_dual'] %}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
imageRepository: {{ coredns_image_repo | regex_replace('/coredns$','') }}
|
||||
imageTag: {{ coredns_image_tag }}
|
||||
{% endif %}
|
||||
|
|
|
@ -69,12 +69,10 @@ etcd:
|
|||
- {{ san }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if dns_mode in ['coredns', 'coredns_dual'] %}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
imageRepository: {{ coredns_image_repo | regex_replace('/coredns$','') }}
|
||||
imageTag: {{ coredns_image_tag }}
|
||||
{% endif %}
|
||||
networking:
|
||||
dnsDomain: {{ dns_domain }}
|
||||
serviceSubnet: {{ kube_service_addresses }}
|
||||
|
|
|
@ -72,13 +72,10 @@ etcd:
|
|||
- {{ san }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if dns_mode in ['coredns', 'coredns_dual'] %}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
imageRepository: {{ coredns_image_repo | regex_replace('/coredns$','') }}
|
||||
imageTag: {{ coredns_image_tag }}
|
||||
{% endif %}
|
||||
networking:
|
||||
dnsDomain: {{ dns_domain }}
|
||||
serviceSubnet: {{ kube_service_addresses }}
|
||||
|
|
Loading…
Reference in New Issue