catch up
This commit is contained in:
@@ -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"
|
||||
@@ -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
|
||||
+3
-10
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
+2
-2
@@ -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}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user