Browse Source
Include etcd image repository when using kubeadm etcd deployment mode (#5725)
pull/5773/head
Florent Monbillard
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
roles/download/templates/kubeadm-images.yaml.j2
|
|
@ -8,11 +8,17 @@ kind: ClusterConfiguration |
|
|
|
imageRepository: {{ kube_image_repo }} |
|
|
|
kubernetesVersion: {{ kube_version }} |
|
|
|
etcd: |
|
|
|
{% if etcd_kubeadm_enabled %} |
|
|
|
local: |
|
|
|
imageRepository: "{{ etcd_image_repo | regex_replace("/etcd$","") }}" |
|
|
|
imageTag: "{{ etcd_image_tag }}" |
|
|
|
{% else %} |
|
|
|
external: |
|
|
|
endpoints: |
|
|
|
{% for endpoint in etcd_access_addresses.split(',') %} |
|
|
|
- {{ endpoint }} |
|
|
|
{% endfor %} |
|
|
|
{% endif %} |
|
|
|
dns: |
|
|
|
type: CoreDNS |
|
|
|
imageRepository: {{ coredns_image_repo | regex_replace('/coredns$','') }} |
|
|
|