...
1apiVersion: gateway.networking.k8s.io/v1
2kind: Gateway
3metadata:
4 name: gateway-secret-reference-grant-specific
5 namespace: gateway-conformance-infra
6spec:
7 gatewayClassName: "{GATEWAY_CLASS_NAME}"
8 listeners:
9 - name: https
10 port: 443
11 protocol: HTTPS
12 allowedRoutes:
13 namespaces:
14 from: All
15 tls:
16 certificateRefs:
17 - group: ""
18 kind: Secret
19 name: certificate
20 namespace: gateway-conformance-web-backend
21---
22apiVersion: gateway.networking.k8s.io/v1beta1
23kind: ReferenceGrant
24metadata:
25 name: reference-grant-specific
26 namespace: gateway-conformance-web-backend
27spec:
28 from:
29 - group: gateway.networking.k8s.io
30 kind: Gateway
31 namespace: gateway-conformance-infra
32 to:
33 - group: ""
34 kind: Secret
35 name: certificate
View as plain text