BetterShift {{ .Chart.AppVersion }} was deployed as {{ include "shiftplaner.fullname" . }}.

1. Reach the app:
{{- if .Values.ingress.enabled }}
  {{- range .Values.ingress.hosts }}
   http{{ if $.Values.ingress.tls }}s{{ end }}://{{ .host }}
  {{- end }}
{{- else }}
   kubectl --namespace {{ .Release.Namespace }} port-forward svc/{{ include "shiftplaner.fullname" . }} 8080:{{ .Values.service.port }}
   open http://localhost:8080
{{- end }}

2. config.betterAuthUrl is {{ .Values.config.betterAuthUrl | quote }} — it must match the
   URL above, otherwise better-auth rejects logins as cross-origin.

3. The first user who registers becomes superadmin.

Notes:
  - Runs as a single pod (SQLite on a {{ .Values.persistence.accessMode }} volume); do not scale it up.
  - Database and uploads live in /app/data{{ if not .Values.persistence.enabled }} — persistence is DISABLED, all data is lost on restart{{ end }}.
  - Back up with: kubectl exec deploy/{{ include "shiftplaner.fullname" . }} -- tar cf - /app/data > shiftplaner-backup.tar
