From fdfccb17bde4c501eff23f5389b5823287d4f1fc Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Thu, 19 Feb 2026 20:00:37 -0500 Subject: [PATCH] catch up --- flux/configmap.yaml.example | 13 ------------- flux/httproute.yaml | 20 -------------------- flux/kustomization.yaml | 13 +++---------- flux/secrets.yaml.example | 15 --------------- flux/service.yaml | 4 ++-- flux/statefulset.yaml | 10 +++------- 6 files changed, 8 insertions(+), 67 deletions(-) delete mode 100644 flux/configmap.yaml.example delete mode 100644 flux/httproute.yaml delete mode 100644 flux/secrets.yaml.example diff --git a/flux/configmap.yaml.example b/flux/configmap.yaml.example deleted file mode 100644 index 051b8fe..0000000 --- a/flux/configmap.yaml.example +++ /dev/null @@ -1,13 +0,0 @@ ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: devcontainer -data: - # GitHub repository to clone on startup - # Example: "https://github.com/username/repository" - # github-repo: "https://github.com/username/repository" - - # Happy Coder configuration (optional) - # happy-server-url: "https://api.cluster-fluster.com" - # happy-webapp-url: "https://app.happy.engineering" diff --git a/flux/httproute.yaml b/flux/httproute.yaml deleted file mode 100644 index 6565f18..0000000 --- a/flux/httproute.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -apiVersion: gateway.networking.k8s.io/v1 -kind: HTTPRoute -metadata: - name: antigravity -spec: - parentRefs: - - name: external - namespace: gateway-system - hostnames: - - ${FQDN} - rules: - - matches: - - path: - type: PathPrefix - value: / - backendRefs: - - name: antigravity - port: 5800 - weight: 1 diff --git a/flux/kustomization.yaml b/flux/kustomization.yaml index 88da8d0..8346be1 100644 --- a/flux/kustomization.yaml +++ b/flux/kustomization.yaml @@ -6,17 +6,10 @@ resources: - statefulset.yaml - service.yaml -# Uncomment to create secrets from files -# secretGenerator: -# - name: antigravity-secrets -# literals: -# - github-token=ghp_your_token -# - vnc-password=your_password - commonLabels: - app: antigravity - environment: production + app: devcontainer + environment: development commonAnnotations: managed-by: kustomize - description: "Antigravity Dev Container with Happy Coder" + description: "Dev Container with Happy Coder" diff --git a/flux/secrets.yaml.example b/flux/secrets.yaml.example deleted file mode 100644 index c195081..0000000 --- a/flux/secrets.yaml.example +++ /dev/null @@ -1,15 +0,0 @@ ---- -# Example secrets - DO NOT commit actual secrets! -# Use SealedSecrets or another secret management solution - -apiVersion: v1 -kind: Secret -metadata: - name: antigravity-secrets -type: Opaque -stringData: - # GitHub Personal Access Token (for private repos) - github-token: "ghp_your_token_here" - - # VNC Password (optional, for secure VNC access) - vnc-password: "your_vnc_password" diff --git a/flux/service.yaml b/flux/service.yaml index 51d9d70..0652d0f 100644 --- a/flux/service.yaml +++ b/flux/service.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Service metadata: - name: devcontainer + name: devcontainer-${NAME} labels: app: devcontainer spec: @@ -10,4 +10,4 @@ spec: name: vnc-web protocol: TCP selector: - app: devcontainer + app: devcontainer-${NAME} diff --git a/flux/statefulset.yaml b/flux/statefulset.yaml index dbfe179..7229a8d 100644 --- a/flux/statefulset.yaml +++ b/flux/statefulset.yaml @@ -2,23 +2,19 @@ apiVersion: apps/v1 kind: StatefulSet metadata: - name: antigravity + name: devcontainer-${NAME} spec: - serviceName: "antigravity" replicas: 1 - selector: - matchLabels: - app: devcontainer template: metadata: labels: - app: devcontainer + app: devcontainer-${NAME} spec: securityContext: fsGroup: 1000 fsGroupChangePolicy: "OnRootMismatch" containers: - - name: antigravity + - name: devcontainer image: ghcr.io/cpfarhood/devcontainer:latest imagePullPolicy: Always ports: