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(kuma-cp): panic when DPP uses outbounds with 'backendRef.Labels' and no meshservices were matched #11604

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

lobkovilya
Copy link
Contributor

When ResolveBackendRef returns nil we don't want to add outbound at all instead of adding outbound with Resource: nil.

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) --
    • Don't forget ci/ labels to run additional/fewer tests
  • 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) --

…and no meshservices were matched

Signed-off-by: Ilya Lobkov <[email protected]>
@lobkovilya lobkovilya requested a review from a team as a code owner October 1, 2024 10:38
@lobkovilya lobkovilya requested review from bartsmykla and lukidzi and removed request for a team October 1, 2024 10:38
@lobkovilya lobkovilya merged commit d21fc3d into kumahq:master Oct 1, 2024
13 checks passed
@lobkovilya lobkovilya deleted the fix/panic-uni-dpp-with-labels branch October 1, 2024 11:21
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.

2 participants