Skip to content

Commit 8af9f37

Browse files
authored
Undefined check for apiserver_loadbalancer_domain_name in apiserver_sans (#13009)
1 parent b41157c commit 8af9f37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/kubernetes/control-plane/tasks/kubeadm-setup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
- "localhost"
3737
- "127.0.0.1"
3838
- "::1"
39-
- "{{ apiserver_loadbalancer_domain_name }}"
39+
- "{{ apiserver_loadbalancer_domain_name | d('') }}"
4040
- "{{ loadbalancer_apiserver.address | d('') }}"
4141
- "{{ supplementary_addresses_in_ssl_keys }}"
4242
- "{{ groups['kube_control_plane'] | map('extract', hostvars, 'main_access_ip') }}"

0 commit comments

Comments
 (0)