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

pull/11401/head
Tom M. 2024-07-26 10:22:05 +02:00 committed by GitHub
parent 2ac5b37aa9
commit c0fabccaf6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ apiServer:
anonymous-auth: "{{ kube_api_anonymous_auth }}" anonymous-auth: "{{ kube_api_anonymous_auth }}"
{% endif %} {% endif %}
authorization-mode: {{ authorization_modes | join(',') }} authorization-mode: {{ authorization_modes | join(',') }}
advertise-address: {{ kube_apiserver_address }}
bind-address: {{ kube_apiserver_bind_address }} bind-address: {{ kube_apiserver_bind_address }}
{% if kube_apiserver_enable_admission_plugins | length > 0 %} {% if kube_apiserver_enable_admission_plugins | length > 0 %}
enable-admission-plugins: {{ kube_apiserver_enable_admission_plugins | join(',') }} enable-admission-plugins: {{ kube_apiserver_enable_admission_plugins | join(',') }}