k8s/manifests/04-routes/httproute-pgadmin.yaml

21 lines
354 B
YAML
Raw Normal View History

2023-12-14 20:20:16 +10:00
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
name: http-pgadmin
2023-12-14 20:23:25 +10:00
namespace: pg
2023-12-14 20:20:16 +10:00
spec:
hostnames:
- pgadmin.guaranteedstruggle.host
parentRefs:
- name: my-gateway
namespace: default
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: pgadmin
port: 80