Skip to content

Commit

Permalink
Update metadata.md
Browse files Browse the repository at this point in the history
Signed-off-by: Joost Naaijen <[email protected]>
  • Loading branch information
klmz authored Oct 29, 2024
1 parent 551636a commit 1e97bcc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions site/content/en/contributions/design/metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -42,7 +43,10 @@ spec:
- path:
type: PathPrefix
value: /mypath

```
Metadata structure:
```yaml
name: httproute/gateway-conformance-infra/myroute/rule/0/match/0/*
match:
Expand Down

0 comments on commit 1e97bcc

Please sign in to comment.