Skip to content

Commit

Permalink
Revert "refactor(gateway): change to prefixed autogenerated tag (kuma…
Browse files Browse the repository at this point in the history
…hq#3585)" (kumahq#3621)

Unfortunately tag values can't contain slashes. The previous format is at least consistent with Service's _svc.

This reverts commit c310a61.

Signed-off-by: Mike Beaumont <[email protected]>
  • Loading branch information
michaelbeaumont committed Dec 23, 2021
1 parent dd5970e commit 6b1b5b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (r *GatewayReconciler) getGatewayClass(ctx context.Context, name gatewayapi

func serviceTagForGateway(name kube_types.NamespacedName) map[string]string {
return map[string]string{
mesh_proto.ServiceTag: fmt.Sprintf("gateways.kuma.io/%s_%s", name.Name, name.Namespace),
mesh_proto.ServiceTag: fmt.Sprintf("%s_%s_gateway", name.Name, name.Namespace),
}
}

Expand Down

0 comments on commit 6b1b5b1

Please sign in to comment.