boday_tf/charts/boday-it/templates/ingress.yaml

44 lines
1.1 KiB
YAML
Raw Normal View History

# 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