fix: kube-vip was not rendering when enabled (#1169)

* fix: kube-vip was not rendering when enabled

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: forgot to save a file

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl authored and GitHub committed 2024-01-16 09:56:41 -05:00
1 parent 646f335689
commit 295f2e7eac
5 files changed
+9 -9

No files matched your search

+3 -3
View File
@@ -44,14 +44,14 @@ spec:
api:
sans:
- "#{ bootstrap_kube_api_addr }#"
#% if bootstrap_kubeapi_hostname is defined %#
- "#{ bootstrap_kubeapi_hostname }#"
#% if bootstrap_kube_api_hostname is defined %#
- "#{ bootstrap_kube_api_hostname }#"
#% endif %#
#% for item in bootstrap_nodes.master %#
#% if item.address != bootstrap_kube_api_addr %#
- "#{ item.address }#"
#% endif %#
#% if (bootstrap_kubeapi_hostname is not defined) or (item.name != bootstrap_kubeapi_hostname) %#
#% if (bootstrap_kube_api_hostname is not defined) or (item.name != bootstrap_kube_api_hostname) %#
- "#{ item.name }#"
#% endif %#
#% endfor %#