Force k3s runtime for k3s profile
Homelab Main / validate (push) Waiting to run Details
Homelab Main / running-update (push) Blocked by required conditions Details
Homelab Main / debian-ops (push) Blocked by required conditions Details

This commit is contained in:
juvenal.diaz 2026-11-02 13:33:32 -06:00
parent f60dbd5cad
commit 0a26ca03a4
1 changed files with 3 additions and 0 deletions

View File

@ -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:-}}"