Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of Update normalization of route refs into release/1.15.x #16799

Conversation

hc-github-team-consul-core
Copy link
Collaborator

Backport

This PR is auto-generated from #16789 to be assessed for backporting due to the inclusion of the label backport/1.15.

WARNING automatic cherry-pick of commits failed. Commits will require human attention.

merge conflict error: unable to process merge commit: "a67ef6d3698779553128d1fa2b7fbfeae821c6e8", automatic backport requires rebase workflow

The below text is copied from the body of the original PR.


Description

When normalizing refs to routes, if the ref does not specify a namespace we should default to the routes namespace. Previously this would always default back to the default namespace.

Testing & Reproduction steps

In consul enterprise create an api gateway and a service in a namespace, then create a route in the same namespace from the gateway to the service and in the stanzas for the gw and the service do not specify the namespace. Before this change the route will fail to bind because it assumes the gw and service are in the default ns, after this change it will bind correctly.

Links

N/A

PR Checklist

  • updated test coverage
  • external facing docs updated
  • not a security concern

Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/jm96441n/update-normalization-of-route-refs/certainly-sweet-chimp branch from 67e325b to cad9250 Compare March 28, 2023 15:24
@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/jm96441n/update-normalization-of-route-refs/certainly-sweet-chimp branch from a08041d to 49898b3 Compare March 28, 2023 15:24
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved Consul Bot automated PR

@jm96441n jm96441n marked this pull request as ready for review March 28, 2023 15:29
@jm96441n jm96441n enabled auto-merge (squash) March 28, 2023 16:18
@jm96441n jm96441n merged commit 7d44a4c into release/1.15.x Mar 28, 2023
@jm96441n jm96441n deleted the backport/jm96441n/update-normalization-of-route-refs/certainly-sweet-chimp branch March 28, 2023 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants