Skip to content

Commit 39258df

Browse files
authored
fix gateway sample manifest file no apiversion (#16621)
Signed-off-by: xin.li <[email protected]>
1 parent 23a5bc8 commit 39258df

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

content/en/docs/ambient/usage/waypoint/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ The keyword `All` may be specified as the value for `allowedRoutes.namespaces.fr
210210
The following `Gateway` would allow resources in a namespace called "cross-namespace-waypoint-consumer" to use this `egress-gateway`:
211211

212212
{{< text syntax=yaml >}}
213+
apiVersion: gateway.networking.k8s.io/v1
213214
kind: Gateway
214215
metadata:
215216
name: egress-gateway

content/en/docs/ambient/usage/waypoint/snips.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ pod/reviews-v2-5b667bcbf8-spnnh labeled
128128
ENDSNIP
129129

130130
! IFS=$'\n' read -r -d '' snip_configure_a_waypoint_for_crossnamespace_use_1 <<\ENDSNIP
131+
apiVersion: gateway.networking.k8s.io/v1
131132
kind: Gateway
132133
metadata:
133134
name: egress-gateway

0 commit comments

Comments
 (0)