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
|
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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue