From 1e97bcc8761ee10d0e2d8d03086d8659083c6417 Mon Sep 17 00:00:00 2001 From: Joost Naaijen Date: Tue, 29 Oct 2024 21:38:39 +0100 Subject: [PATCH] Update metadata.md Signed-off-by: Joost Naaijen --- site/content/en/contributions/design/metadata.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/site/content/en/contributions/design/metadata.md b/site/content/en/contributions/design/metadata.md index 4fd30980563..f6564f3ccd5 100644 --- a/site/content/en/contributions/design/metadata.md +++ b/site/content/en/contributions/design/metadata.md @@ -26,9 +26,10 @@ Future enhancements may include: ## Translation Envoy Gateway uses the following namespace for envoy resource metadata: `gateway.envoyproxy.io/`. For example, an envoy [route][] resource may have the following metadata structure: -```yaml -```` +Kubernetes resource: + +```yaml kind: HTTPRoute apiVersion: gateway.networking.k8s.io/v1 metadata: @@ -42,7 +43,10 @@ spec: - path: type: PathPrefix value: /mypath - +``` + +Metadata structure: + ```yaml name: httproute/gateway-conformance-infra/myroute/rule/0/match/0/* match: