1. Get the application URL:
{{- if .Values.ingress.enabled }}
{{- range $host := .Values.ingress.hosts }}
  {{- range .paths }}
  http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }}
  {{- end }}
{{- end }}
{{- else }}
  kubectl --namespace {{ .Release.Namespace }} port-forward svc/{{ include "alexscript.fullname" . }} 8080:{{ .Values.service.port }}
{{- end }}

2. Credentials:
{{- if .Values.auth.existingSecret }}
   Using the existing secret {{ .Values.auth.existingSecret }}.
{{- else }}
   The chart created a secret from values. Set auth.login and auth.password,
   or auth.existingSecret, before relying on the scheduler.
{{- end }}

3. The scheduler runs at 19:55 and 19:59:59 {{ .Values.env.DIESE_TIMEZONE | default "Europe/Zurich" }}.
   Keep one replica: a second replica would book the same room twice.

{{- if .Values.persistence.enabled }}
4. The SQLite database and the room cache live on PVC
   {{ include "alexscript.fullname" . }} at {{ .Values.persistence.mountPath }}.
{{- else }}
4. Persistence is disabled. The database is lost when the pod restarts.
{{- end }}
