From 3db5961b1c9fa8122f01f1c9e7caf0ee07d16e91 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Thu, 19 Feb 2026 17:51:56 -0500 Subject: [PATCH] Fix chown errors in startup script - Remove chown on /home mount root (PVC root not owned by container user) - Change imagePullPolicy to Always to pick up new images on pod restart Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- k8s/statefulset.yaml | 2 +- scripts/init-repo.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/k8s/statefulset.yaml b/k8s/statefulset.yaml index 00b5dbe..d474a42 100644 --- a/k8s/statefulset.yaml +++ b/k8s/statefulset.yaml @@ -35,7 +35,7 @@ spec: containers: - name: antigravity image: ghcr.io/cpfarhood/devcontainer:latest - imagePullPolicy: IfNotPresent + imagePullPolicy: Always ports: - containerPort: 5800 name: vnc-web diff --git a/scripts/init-repo.sh b/scripts/init-repo.sh index d095ad8..3f3509a 100644 --- a/scripts/init-repo.sh +++ b/scripts/init-repo.sh @@ -54,7 +54,6 @@ fi RUN_UID="${USER_ID:-1000}" RUN_GID="${GROUP_ID:-1000}" chown -R "$RUN_UID:$RUN_GID" "$WORKSPACE_DIR" -chown -R "$RUN_UID:$RUN_GID" /home # Start Happy Coder in background as the app user echo "Starting Happy Coder..."