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

fix(gatewayapi): don't set RefNotPermitted for GAMMA routes #7771

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

michaelbeaumont
Copy link
Contributor

@michaelbeaumont michaelbeaumont commented Sep 15, 2023

We weren't actually checking whether a ref is permitted when converting for GAMMA, which is correct, but we reused the condition list from the gateway case.

Closes #7764

Checklist prior to review

  • Link to relevant issue as well as docs and UI issues --
  • This will not break child repos: it doesn't hardcode values (.e.g "kumahq" as a image registry) and it will work on Windows, system specific functions like syscall.Mkfifo have equivalent implementation on the other OS --
  • Tests (Unit test, E2E tests, manual test on universal and k8s) --
  • Do you need to update UPGRADE.md? --
  • Does it need to be backported according to the backporting policy? (this GH action will add "backport" label based on these file globs, if you want to prevent it from adding the "backport" label use no-backport-autolabel label) --
  • Do you need to explicitly set a > Changelog: entry here or add a ci/ label to run fewer/more tests?

@michaelbeaumont michaelbeaumont requested a review from a team as a code owner September 15, 2023 10:43
@michaelbeaumont michaelbeaumont requested review from slonka and Automaat and removed request for a team September 15, 2023 10:43
@michaelbeaumont michaelbeaumont added the ci/run-full-matrix PR: Runs all possible e2e test combination (expensive use carefully) label Sep 15, 2023
@michaelbeaumont michaelbeaumont enabled auto-merge (squash) September 15, 2023 12:57
@michaelbeaumont michaelbeaumont enabled auto-merge (squash) September 15, 2023 12:58
@michaelbeaumont michaelbeaumont merged commit 7d6cac3 into kumahq:master Sep 19, 2023
@michaelbeaumont michaelbeaumont deleted the fix/gapi-ref-gamma branch September 19, 2023 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/run-full-matrix PR: Runs all possible e2e test combination (expensive use carefully)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GAMMA consumer routes incorrectly set RefNotPermitted for cross-namespace backendRefs
2 participants