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
|
- statefulset.yaml
|
||||||
- service.yaml
|
- service.yaml
|
||||||
|
|
||||||
# Uncomment to create secrets from files
|
|
||||||
# secretGenerator:
|
|
||||||
# - name: antigravity-secrets
|
|
||||||
# literals:
|
|
||||||
# - github-token=ghp_your_token
|
|
||||||
# - vnc-password=your_password
|
|
||||||
|
|
||||||
commonLabels:
|
commonLabels:
|
||||||
app: antigravity
|
app: devcontainer
|
||||||
environment: production
|
environment: development
|
||||||
|
|
||||||
commonAnnotations:
|
commonAnnotations:
|
||||||
managed-by: kustomize
|
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
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: devcontainer
|
name: devcontainer-${NAME}
|
||||||
labels:
|
labels:
|
||||||
app: devcontainer
|
app: devcontainer
|
||||||
spec:
|
spec:
|
||||||
@@ -10,4 +10,4 @@ spec:
|
|||||||
name: vnc-web
|
name: vnc-web
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
selector:
|
selector:
|
||||||
app: devcontainer
|
app: devcontainer-${NAME}
|
||||||
|
|||||||
@@ -2,23 +2,19 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
metadata:
|
metadata:
|
||||||
name: antigravity
|
name: devcontainer-${NAME}
|
||||||
spec:
|
spec:
|
||||||
serviceName: "antigravity"
|
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: devcontainer
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: devcontainer
|
app: devcontainer-${NAME}
|
||||||
spec:
|
spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
fsGroup: 1000
|
fsGroup: 1000
|
||||||
fsGroupChangePolicy: "OnRootMismatch"
|
fsGroupChangePolicy: "OnRootMismatch"
|
||||||
containers:
|
containers:
|
||||||
- name: antigravity
|
- name: devcontainer
|
||||||
image: ghcr.io/cpfarhood/devcontainer:latest
|
image: ghcr.io/cpfarhood/devcontainer:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user