927c9f1051
SSH is now a standalone `ssh: true/false` value that starts sshd on port 22 *in addition to* whatever IDE is running, rather than replacing it. The `ide` value loses the `ssh` option and gains `none` (keep container alive with no GUI IDE, useful when ssh: true is the only access method). - chart/values.yaml: replace `ide: ssh` with `ssh: false` boolean - chart/templates/deployment.yaml: expose port 22 when ssh=true, port 5800 when ide!=none; probes use HTTP (VNC) or TCP socket (SSH-only) - chart/templates/service.yaml: include both ports when both enabled - scripts/cont-init-sshd.sh: check SSH=true instead of IDE=ssh - scripts/startapp.sh: add ide=none case (sleep infinity), drop ssh case - chart/Chart.yaml: bump to 0.1.6 - README.md: update IDE choice and SSH access docs Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
64 lines
1.7 KiB
YAML
64 lines
1.7 KiB
YAML
# Instance name — used to generate resource names (devcontainer-{name}, userhome-{name})
|
|
name: ""
|
|
|
|
image:
|
|
repository: ghcr.io/cpfarhood/devcontainer
|
|
tag: latest
|
|
pullPolicy: Always
|
|
|
|
# GitHub repository to clone into /workspace
|
|
githubRepo: ""
|
|
|
|
# IDE to launch inside the container.
|
|
# Options:
|
|
# vscode — VSCode via VNC browser UI on port 5800 (default)
|
|
# antigravity — Google Antigravity (VSCode fork) via VNC on port 5800
|
|
# none — no IDE; useful when ssh: true is the sole access method
|
|
ide: vscode
|
|
|
|
# Start an OpenSSH server on port 22 in addition to the IDE.
|
|
# Set SSH_AUTHORIZED_KEYS in the env secret to allow key-based login.
|
|
ssh: false
|
|
|
|
# Happy Coder endpoints
|
|
happyServerUrl: "https://happy.farh.net"
|
|
happyWebappUrl: "https://happy-coder.farh.net"
|
|
happyHomeDir: "/home/user/.happy"
|
|
happyExperimental: "true"
|
|
|
|
# VNC display
|
|
display:
|
|
width: "1920"
|
|
height: "1080"
|
|
|
|
# Set to "0" when TLS is terminated at the gateway layer
|
|
secureConnection: "0"
|
|
|
|
userId: "1000"
|
|
groupId: "1000"
|
|
|
|
storage:
|
|
size: 32Gi
|
|
className: ceph-filesystem
|
|
|
|
resources:
|
|
requests:
|
|
memory: "2Gi"
|
|
cpu: "1000m"
|
|
limits:
|
|
memory: "8Gi"
|
|
cpu: "4000m"
|
|
|
|
# Kubernetes cluster access granted to the devcontainer pod via RBAC.
|
|
# Options:
|
|
# none — no cluster access (default)
|
|
# readonlyns — get/list/watch all resources in the release namespace
|
|
# readwritens — full access to all resources in the release namespace
|
|
# readonly — get/list/watch all resources cluster-wide
|
|
# readwrite — full access to all resources cluster-wide
|
|
clusterAccess: none
|
|
|
|
# Name of existing Secret containing env vars (GITHUB_TOKEN, VNC_PASSWORD, etc.)
|
|
# Defaults to: devcontainer-{name}-secrets-env
|
|
envSecretName: ""
|