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:
+2
-2
@@ -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
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user