k3s/namespaces/core/postgres/extra/tcproute.yaml

17 lines
332 B
YAML
Raw Normal View History

2025-03-30 13:00:00 -04:00
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: TCPRoute
metadata:
name: tcproute
namespace: core
spec:
parentRefs:
- name: homelab-gateway
sectionName: postgres
kind: Gateway
namespace: homelab
rules:
- backendRefs:
- name: postgres-svc
namespace: core
port: 5432