Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

build(minikube): preserve configured instances during reconciliation

Alfredo Lopezd90b6647cae0
diff --git a/Makefile b/Makefile
index 0ab0ef8c0..2a90df7cb 100644
--- a/Makefile
+++ b/Makefile
@@ -352,6 +352,7 @@ minikube-deploy-all-body:
@T2_PROJECT_DIR="$(CURDIR)" T2_PROFILE="$(MINIKUBE_PROFILE)" T2_CONTEXT="$(MINIKUBE_PROFILE)" \
T2_SKIP_LOCK=true T2_LOCK_TOKEN="$(T2_LOCK_TOKEN)" \
bash scripts/minikube/require-t2-mutation-lock.sh
+ @case "$(MINIKUBE_REAPPLY_INSTANCES)" in ""|true|false) ;; *) echo "MINIKUBE_REAPPLY_INSTANCES must be true or false" >&2; exit 1 ;; esac
@$(MAKE) --no-print-directory minikube-detect-k8s-api-ip
@# Upgrade path: adopt/validate writer and stage reader before HCC cutover.
@if [ "$(MINIKUBE_GFS_MUTATION)" != "true" ]; then echo "[minikube-deploy-all] GFS mutation disabled for this non-T2 sync"; fi
@@ -395,7 +396,10 @@ minikube-deploy-all-body:
fi; \
fi
CONTEXT=$(MINIKUBE_PROFILE) bash deploy/scripts/apply-inter-service-tokens.sh
- @if [ "$(MINIKUBE_GFS_MUTATION)" = "true" ]; then \
+ @# Bootstrap instances contain defaults, not the user's current Host configuration.
+ @if [ "$(MINIKUBE_REAPPLY_INSTANCES)" = "false" ]; then \
+ echo "[minikube-deploy-all] Preserving existing instance configuration"; \
+ elif [ "$(MINIKUBE_GFS_MUTATION)" = "true" ]; then \
$(KC) apply -f deploy/overlays/minikube/instances/; \
else \
filtered_manifest="$$(mktemp "$${TMPDIR:-/tmp}/evenfire-gfs-instances-filter.XXXXXX")"; \
diff --git a/docs/testing/codex-subscription-validation.md b/docs/testing/codex-subscription-validation.md
index 66e5db12c..04e3faf05 100644
--- a/docs/testing/codex-subscription-validation.md
+++ b/docs/testing/codex-subscription-validation.md
@@ -24,6 +24,11 @@ present, `MINIKUBE_BUILD_IMAGE_ARGS=--skip-public` forwards the existing builder
option through the public Make entry point. This avoids pulling unrelated demo
images during a full source rebuild. Keep the normal image verification and
runtime readiness gates; this option is not a substitute for bootstrap.
+When reconciling an existing profile configured through Control UI, use
+`MINIKUBE_REAPPLY_INSTANCES=false` to preserve its Host and other bootstrap
+instance configuration. This does not skip core manifests, CRDs, image checks,
+or readiness. Leave the default enabled for initial bootstrap. Verify the
+Host's provider/model/connection binding before and after the update.
Provider tests must cover both completion methods, direct/tool origins, prompt
context, redacted text parts, repeated bytes from distinct tool calls and the