fix(cli): isolate dev mode state when running inside a kandev task (#617)

This commit is contained in:
Carlos Florêncio
2026-04-17 19:41:29 +01:00
committed by GitHub
parent cb8abfed78
commit 814efdfa67
17 changed files with 395 additions and 95 deletions
+5 -5
View File
@@ -5,14 +5,14 @@ metadata:
labels:
app: kandev
data:
# Database — SQLite on the PV. Set KANDEV_DATABASE_DRIVER=postgres for production.
KANDEV_DATABASE_PATH: /data/kandev.db
# Kandev home directory on the PV. Everything kandev persists — the DB
# (under data/), tasks, worktrees, repos, sessions, and LSP servers — lives
# under this root. Mount the PV at /data. Set KANDEV_DATABASE_DRIVER=postgres
# for production to move the DB off the PV.
KANDEV_HOME_DIR: /data
# Disable Docker runtime (no Docker-in-Docker in K8s)
KANDEV_DOCKER_ENABLED: "false"
# Worktree storage on the PV
KANDEV_WORKTREE_BASEPATH: /data/worktrees
# Logging — auto-detects K8s and uses JSON format
KANDEV_LOG_LEVEL: info