charts/boday-it/templates/ingress.yaml aktualisiert
Some checks failed
Django Helm GitOps Deploy / build-and-deploy (push) Failing after 1m1s
Some checks failed
Django Helm GitOps Deploy / build-and-deploy (push) Failing after 1m1s
This commit is contained in:
parent
d807597b1c
commit
14707fc030
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-ingress
|
||||
|
|
@ -9,7 +10,6 @@ spec:
|
|||
- host: boday-it.ch
|
||||
http:
|
||||
paths:
|
||||
# Statische Dateien gehen an den Nginx-Sidecar (Port 80)
|
||||
- path: /static
|
||||
pathType: Prefix
|
||||
backend:
|
||||
|
|
@ -17,7 +17,6 @@ spec:
|
|||
name: {{ .Release.Name }}-web
|
||||
port:
|
||||
name: static
|
||||
# Alles andere geht direkt an Django (Port 8000)
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
|
|
|
|||
Loading…
Reference in a new issue