Some checks failed
Django Helm GitOps Deploy / build-and-deploy (push) Failing after 1m1s
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
# KORRIGIERT: Der offizielle, moderne API-Pfad für Ingress in K3s
|
|
apiVersion: networking.k8s.io/v1
|
|
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
|