{{/* Helm NOTES.txt – shown after install/upgrade */}}
{{- if .Release.IsInstall }}
🎉  {{ .Chart.Name }} {{ .Chart.Version }} installed in namespace {{ .Release.Namespace }}.

⚠️  Prerequisites you must fulfil before the app starts:

  1. PostgreSQL database is reachable.
  2. Redis is reachable.
  3. (Optional) NATS if HOOK_POOL is enabled.
  4. (Optional) Qdrant if AI embeddings are used.

📋  Required Secret "{{ .Release.Name }}-secrets" (create manually or via external secrets):

    apiVersion: v1
    kind: Secret
    metadata:
      name: {{ .Release.Name }}-secrets
      namespace: {{ .Release.Namespace }}
    type: Opaque
    stringData:
      APP_DATABASE_URL: postgresql://user:password@postgres:5432/db
      APP_REDIS_URL: redis://redis:6379
      # APP_SMTP_PASSWORD: ...
      # APP_QDRANT_API_KEY: ...

  Or set .Values.secrets in values.yaml.

🔄  To run database migrations:
    helm upgrade {{ .Release.Name }} ./gitdata -n {{ .Release.Namespace }} \
      --set migrate.enabled=true

📖  Useful commands:
    kubectl get pods -n {{ .Release.Namespace }}
    kubectl logs -n {{ .Release.Namespace }} -l app.kubernetes.io/name={{ .Chart.Name }}
{{- end }}
