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