Browse Source

Add missing advertise-address flag to Kubeadm config, so it's passed to api-server (#11387)

pull/11401/head
Tom M. 3 months ago
committed by GitHub
parent
commit
c0fabccaf6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/kubernetes/control-plane/templates/kubeadm-config.v1beta3.yaml.j2

1
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(',') }}

Loading…
Cancel
Save