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