sigs.k8s.io/gateway-api@v1.0.0/conformance/tests/httproute-disallowed-kind.yaml (about) 1 apiVersion: gateway.networking.k8s.io/v1 2 kind: Gateway 3 metadata: 4 name: tlsroutes-only 5 namespace: gateway-conformance-infra 6 spec: 7 gatewayClassName: "{GATEWAY_CLASS_NAME}" 8 listeners: 9 - name: tls 10 port: 443 11 protocol: TLS 12 tls: 13 mode: Passthrough 14 allowedRoutes: 15 namespaces: 16 from: Same 17 kinds: 18 - kind: TLSRoute 19 --- 20 apiVersion: gateway.networking.k8s.io/v1 21 kind: HTTPRoute 22 metadata: 23 name: disallowed-kind 24 namespace: gateway-conformance-infra 25 spec: 26 parentRefs: 27 - name: tlsroutes-only 28 namespace: gateway-conformance-infra 29 rules: 30 - backendRefs: 31 - name: infra-backend-v1 32 port: 8080