Kustomize-Struktur (base/overlays) entfernt. Stattdessen nummerierte Einzeldateien, ausrollbar mit "kubectl apply -f k8s/": 00-namespace, 01-config, 02-storage (SMB-PVs/PVCs Postgres + Medien), 03-postgres (StatefulSet + Service), 04-app (Deployment mit Migrations-initContainer + Service), 05-ingress, 06-worker, 07-networkpolicy. Secrets als secrets.yaml.example (echte secrets.yaml ist gitignored). Images mit Tag latest aus der Gitea-Pipeline. Kurzanleitung in k8s/README.md, Betriebsdoku angepasst. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
16 lines
439 B
YAML
16 lines
439 B
YAML
# Nicht geheime Einstellungen. ANPASSEN: APP_URL, MAIL_FROM, ADMIN_NOTIFY_EMAIL.
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: artista-modelcamp-config
|
|
namespace: artista
|
|
data:
|
|
APP_ENV: "production"
|
|
APP_URL: "https://modelcamp.example.org"
|
|
MAIL_TRANSPORT: "smtp"
|
|
MAIL_FROM: "ARTISTA MODELCAMP <[email protected]>"
|
|
ADMIN_NOTIFY_EMAIL: "[email protected]"
|
|
SMTP_PORT: "587"
|
|
SMTP_SECURE: "false"
|
|
MEDIA_DIR: "/app/media"
|