From 0a26ca03a482f05f17bbea03b85bd57defc8de2a Mon Sep 17 00:00:00 2001 From: "juvenal.diaz" Date: Mon, 2 Nov 2026 13:33:32 -0600 Subject: [PATCH] Force k3s runtime for k3s profile --- lib/jeannie/env.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/jeannie/env.sh b/lib/jeannie/env.sh index 878c1ab..6f43dd7 100644 --- a/lib/jeannie/env.sh +++ b/lib/jeannie/env.sh @@ -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:-}}"