Force k3s runtime for k3s profile
This commit is contained in:
parent
f60dbd5cad
commit
0a26ca03a4
|
|
@ -250,6 +250,9 @@ export_if_unset() {
|
|||
}
|
||||
|
||||
export_homelab_inventory_tf_vars() {
|
||||
if [[ "${LAB_CLUSTER_PROFILE:-}" == "k3s" ]]; then
|
||||
export LAB_CLUSTER_RUNTIME=k3s
|
||||
fi
|
||||
export_if_unset TF_VAR_kubeconfig_path "${LAB_KUBECONFIG_PATH:-}"
|
||||
export_if_unset TF_VAR_control_plane_node_name "${LAB_CLUSTER_CONTROL_PLANE_NODE_NAME:-debian}"
|
||||
export_if_unset TF_VAR_control_plane_advertise_address "${LAB_CLUSTER_CONTROL_PLANE_LAN_IP:-${LAB_DEBIAN_LAN_IP:-}}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue