c8a7bbcd6e
- Add helm.sh/resource-policy: keep to PVC (prevent data loss on uninstall) - Add fail guard for empty name value in Helm templates - Fix Makefile IMAGE_NAME from antigravity to devcontainer - Pin busybox:1.37, homeassistant:v6.7.1, playwright:v0.0.68 (was latest/stable) - Set imagePullPolicy: IfNotPresent on pinned sidecars - Remove fetch/sequentialthinking from .mcp.json (sidecars removed from chart) - Default storage.className to empty (use cluster default, was ceph-filesystem) - Default Happy Coder URLs to empty (was private farh.net endpoints) - Broaden githubRepo schema to accept GitLab/Gitea URLs - Add unknown IDE warning before VSCode fallback - Add mkdir -p before credential file write (fix fresh PVC boot) - Guard app user existence in cont-init-user.sh - Add NOTES.txt post-install template with port-forward and secret hints - Add standard app.kubernetes.io/* labels and separate selectorLabels Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
Dev Container "{{ .Values.name }}" has been deployed.
|
|
|
|
{{- if ne (.Values.ide.type | default "vscode") "none" }}
|
|
|
|
Access the IDE:
|
|
kubectl port-forward deployment/{{ include "devcontainer.fullname" . }} 5800:5800 -n {{ .Release.Namespace }}
|
|
Then open: http://localhost:5800
|
|
{{- end }}
|
|
|
|
{{- if .Values.ssh.enabled }}
|
|
|
|
SSH access:
|
|
kubectl port-forward deployment/{{ include "devcontainer.fullname" . }} 2222:22 -n {{ .Release.Namespace }}
|
|
Then: ssh -p 2222 user@localhost
|
|
{{- end }}
|
|
|
|
Useful commands:
|
|
Logs: kubectl logs -f deployment/{{ include "devcontainer.fullname" . }} -n {{ .Release.Namespace }}
|
|
Shell: kubectl exec -it deployment/{{ include "devcontainer.fullname" . }} -n {{ .Release.Namespace }} -- bash
|
|
|
|
{{- if not (lookup "v1" "Secret" .Release.Namespace (include "devcontainer.envSecretName" .)) }}
|
|
|
|
Optional: Create a secret for GITHUB_TOKEN, VNC_PASSWORD, etc:
|
|
kubectl create secret generic {{ include "devcontainer.envSecretName" . }} \
|
|
--from-literal=GITHUB_TOKEN=ghp_xxx \
|
|
--from-literal=VNC_PASSWORD=changeme \
|
|
-n {{ .Release.Namespace }}
|
|
{{- end }}
|
|
|
|
Note: The PVC "{{ include "devcontainer.pvcName" . }}" is protected from deletion on helm uninstall.
|
|
To remove it manually: kubectl delete pvc {{ include "devcontainer.pvcName" . }} -n {{ .Release.Namespace }}
|