2026-11-01 01:27:02 +00:00
|
|
|
# KORRIGIERT: Der offizielle, moderne API-Pfad für Ingress in K3s
|
|
|
|
|
apiVersion: networking.k8s.io/v1
|
2026-11-01 00:43:19 +00:00
|
|
|
kind: Ingress
|
|
|
|
|
metadata:
|
|
|
|
|
name: {{ .Release.Name }}-ingress
|
|
|
|
|
annotations:
|
|
|
|
|
kubernetes.io/ingress.class: "nginx"
|
|
|
|
|
spec:
|
|
|
|
|
rules:
|
|
|
|
|
- host: boday-it.ch
|
|
|
|
|
http:
|
|
|
|
|
paths:
|
|
|
|
|
- path: /static
|
|
|
|
|
pathType: Prefix
|
|
|
|
|
backend:
|
|
|
|
|
service:
|
|
|
|
|
name: {{ .Release.Name }}-web
|
|
|
|
|
port:
|
|
|
|
|
name: static
|
|
|
|
|
- path: /
|
|
|
|
|
pathType: Prefix
|
|
|
|
|
backend:
|
|
|
|
|
service:
|
|
|
|
|
name: {{ .Release.Name }}-web
|
|
|
|
|
port:
|
|
|
|
|
name: django
|
|
|
|
|
- host: www.boday-it.ch
|
|
|
|
|
http:
|
|
|
|
|
paths:
|
|
|
|
|
- path: /static
|
|
|
|
|
pathType: Prefix
|
|
|
|
|
backend:
|
|
|
|
|
service:
|
|
|
|
|
name: {{ .Release.Name }}-web
|
|
|
|
|
port:
|
|
|
|
|
name: static
|
|
|
|
|
- path: /
|
|
|
|
|
pathType: Prefix
|
|
|
|
|
backend:
|
|
|
|
|
service:
|
|
|
|
|
name: {{ .Release.Name }}-web
|
|
|
|
|
port:
|
|
|
|
|
name: django
|