Skip to content

Commit

Permalink
add domain prefix to metadata field names
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Kriss <[email protected]>
  • Loading branch information
skriss committed Jul 10, 2023
1 parent 67789ad commit ccecfc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/envoy/v3/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ func buildRoute(dagRoute *dag.Route, vhostName string, secure bool) *envoy_route
FilterMetadata: map[string]*structpb.Struct{
"envoy.access_loggers.file": {
Fields: map[string]*structpb.Value{
"kind": structpb.NewStringValue(dagRoute.Kind),
"namespace": structpb.NewStringValue(dagRoute.Namespace),
"name": structpb.NewStringValue(dagRoute.Name),
"io.projectcontour.kind": structpb.NewStringValue(dagRoute.Kind),
"io.projectcontour.namespace": structpb.NewStringValue(dagRoute.Namespace),
"io.projectcontour.name": structpb.NewStringValue(dagRoute.Name),
},
},
},
Expand Down

0 comments on commit ccecfc0

Please sign in to comment.