k8s/manifests/03-ingress/flask-htmx-ingress.yaml
Simple_Not f8116df730
All checks were successful
continuous-integration/drone/push Build is passing
fix kubes
2023-08-31 21:54:11 +10:00

51 lines
1.2 KiB
YAML

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: flask-htmx-ingress
namespace: vdk2ch
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
#nginx.ingress.kubernetes.io/app-root: /
spec:
rules:
- host: master.board.vdk2ch.ru
http:
paths:
- path: /(.*)
pathType: Prefix
backend:
service:
name: flask-htmx-master-service
port:
number: 5000
- host: dev.board.vdk2ch.ru
http:
paths:
- path: /(.*)
pathType: Prefix
backend:
service:
name: flask-htmx-dev-service
port:
number: 5000
- host: our-style.board.vdk2ch.ru
http:
paths:
- path: /(.*)
pathType: Prefix
backend:
service:
name: flask-htmx-our-style-service
port:
number: 5000
- host: q.q.vdk2ch.ru
http:
paths:
- path: /(.*)
pathType: Prefix
backend:
service:
name: flask-htmx-our-style-service
port:
number: 5000