Fix kube_api_endpoint variable passing for HA cluster
- Remove circular variable reference in site.yml - Add kube_api_endpoint default to k3s-server role - Variable is set via inventory group_vars and passed to role - Primary CP now correctly adds LB IP to TLS SANs Note: Existing cluster needs destroy/rebuild to regenerate certificates.
This commit is contained in:
@@ -6,3 +6,5 @@ k3s_primary_public_ip: ""
|
||||
k3s_disable_embedded_ccm: true
|
||||
k3s_disable_servicelb: true
|
||||
k3s_kubelet_cloud_provider_external: true
|
||||
# Load Balancer endpoint for HA cluster joins (set in inventory)
|
||||
kube_api_endpoint: ""
|
||||
|
||||
Reference in New Issue
Block a user