- db.rs: fix fresh-PVC startup crash by using SqliteConnectOptions with create_if_missing(true) and foreign_keys(true); drops after_connect - Dockerfile: switch to Node 22 + pnpm (corepack), run pnpm check before build, copy backend/demo/ for TT_TEST_MODE support, non-root app user, add HEALTHCHECK, remove baked-in JWT_SECRET - .dockerignore: exclude node_modules, build artifacts, data/, logs - deploy/: new Helm chart replacing k8s/ — Deployment, Service, HTTPRoute (Gateway API), PVC (hcloud-volumes), CronJob backup, ServiceAccount, VPA; JWT_SECRET sourced from pre-provisioned K8s Secret - k8s/: removed (superseded by deploy/) - ci.yml: replaces test.yml — Node 20->22, same test steps, adds no-push Docker build; triggers on non-main pushes and PRs - release.yml: new tag-driven workflow (v*.*.*) — runs tests, pushes image to registry.itsh.dev/s0wlz/tutortool, deploys via helm upgrade https://claude.ai/code/session_01N1kWaQJkz1fC7mUippdQR5
18 lines
771 B
Plaintext
18 lines
771 B
Plaintext
TutorTool has been deployed!
|
|
|
|
Application URL: https://{{ index .Values.httpRoute.hostnames 0 }}
|
|
|
|
To verify the deployment:
|
|
kubectl -n {{ .Release.Namespace }} rollout status deploy/{{ include "tutortool.fullname" . }}
|
|
|
|
Health check:
|
|
kubectl -n {{ .Release.Namespace }} exec deploy/{{ include "tutortool.fullname" . }} -- curl -s http://localhost:3000/health
|
|
|
|
The JWT_SECRET is read from the K8s Secret named "{{ .Values.jwtSecretName }}".
|
|
Provision it before deploying if it doesn't already exist:
|
|
kubectl -n {{ .Release.Namespace }} create secret generic {{ .Values.jwtSecretName }} \
|
|
--from-literal=JWT_SECRET=<your-secret>
|
|
|
|
SQLite data persists on PVC: {{ include "tutortool.fullname" . }}-data
|
|
Nightly VACUUM backups run at 03:00 UTC, retained for 7 days.
|