charts/boday-it/templates/ingress.yaml aktualisiert
Some checks failed
Django Helm GitOps Deploy / build-and-deploy (push) Failing after 1m1s

This commit is contained in:
bast 2026-11-01 01:27:02 +00:00
parent d807597b1c
commit 14707fc030

View file

@ -1,4 +1,5 @@
apiVersion: kubernetes.io/ingress.v1 # KORRIGIERT: Der offizielle, moderne API-Pfad für Ingress in K3s
apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: {{ .Release.Name }}-ingress name: {{ .Release.Name }}-ingress
@ -9,7 +10,6 @@ spec:
- host: boday-it.ch - host: boday-it.ch
http: http:
paths: paths:
# Statische Dateien gehen an den Nginx-Sidecar (Port 80)
- path: /static - path: /static
pathType: Prefix pathType: Prefix
backend: backend:
@ -17,7 +17,6 @@ spec:
name: {{ .Release.Name }}-web name: {{ .Release.Name }}-web
port: port:
name: static name: static
# Alles andere geht direkt an Django (Port 8000)
- path: / - path: /
pathType: Prefix pathType: Prefix
backend: backend: