Skip to content
Snippets Groups Projects
Unverified Commit 0104396c authored by Samuel Liu's avatar Samuel Liu Committed by GitHub
Browse files

use var: kube_apiserver_address (#9967)

parent eecaec29
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ bootstrapTokens:
ttl: "24h"
{% endif %}
localAPIEndpoint:
advertiseAddress: {{ ip | default(fallback_ips[inventory_hostname]) }}
advertiseAddress: {{ kube_apiserver_address }}
bindPort: {{ kube_apiserver_port }}
{% if kubeadm_certificate_key is defined %}
certificateKey: {{ kubeadm_certificate_key }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment