Fix startup scripts and k8s config for initial deployment

- Fix chown/sudo to use numeric UID/GID instead of hardcoded 'claude'
  username (baseimage-gui creates users dynamically, name not available
  at script runtime)
- Fix image name: ghcr.io/cpfarhood/devcontainer (matches github.repository)
- Fix ConfigMap name: antigravity-config -> antigravity (matches statefulset refs)
- Set github-repo in ConfigMap to headlamp-polaris-plugin
- Set HTTPRoute to external gateway at antigravity.dev.farh.net
- Add CLAUDE.md for Claude Code guidance

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
2026-02-19 17:39:59 -05:00
parent dd12262c83
commit 3794ec60d7
6 changed files with 128 additions and 18 deletions
+2 -2
View File
@@ -2,11 +2,11 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: antigravity-config
name: antigravity
data:
# GitHub repository to clone on startup
# Example: "https://github.com/username/repository"
github-repo: ""
github-repo: "https://github.com/privilegedescalation/headlamp-polaris-plugin"
# Happy Coder configuration (optional)
# happy-server-url: "https://api.cluster-fluster.com"
+3 -3
View File
@@ -5,10 +5,10 @@ metadata:
name: antigravity
spec:
parentRefs:
- name: gateway # Replace with your Gateway name
namespace: gateway-system # Replace with your Gateway namespace
- name: external
namespace: gateway-system
hostnames:
- "antigravity.example.com" # Replace with your domain
- "antigravity.dev.farh.net"
rules:
- matches:
- path:
+1 -1
View File
@@ -34,7 +34,7 @@ spec:
fsGroupChangePolicy: "OnRootMismatch"
containers:
- name: antigravity
image: ghcr.io/cpfarhood/antigravity:latest
image: ghcr.io/cpfarhood/devcontainer:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 5800