k8s/manifests/03-ingress/flask-htmx-ingress.yaml
Simple_Not 23569ef919
Some checks failed
continuous-integration/drone/push Build is failing
board?
2023-07-01 23:58:54 +10:00

30 lines
699 B
YAML

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: flask-htmx-ingress
namespace: vdk2ch
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
spec:
rules:
- host: master.board.vdk2ch.ru
http:
paths:
- path: /v1
pathType: Prefix
backend:
service:
name: flask-htmx-master-service
port:
number: 80
- host: dev.board.vdk2ch.ru
http:
paths:
- path: /v1
pathType: Prefix
backend:
service:
name: flask-htmx-dev-service
port:
number: 80