diff --git a/roles/kubernetes/control-plane/templates/kubeadm-config.v1beta3.yaml.j2 b/roles/kubernetes/control-plane/templates/kubeadm-config.v1beta3.yaml.j2 index ca48a3a91..0eb746aef 100644 --- a/roles/kubernetes/control-plane/templates/kubeadm-config.v1beta3.yaml.j2 +++ b/roles/kubernetes/control-plane/templates/kubeadm-config.v1beta3.yaml.j2 @@ -127,6 +127,7 @@ apiServer: anonymous-auth: "{{ kube_api_anonymous_auth }}" {% endif %} authorization-mode: {{ authorization_modes | join(',') }} + advertise-address: {{ kube_apiserver_address }} bind-address: {{ kube_apiserver_bind_address }} {% if kube_apiserver_enable_admission_plugins | length > 0 %} enable-admission-plugins: {{ kube_apiserver_enable_admission_plugins | join(',') }}