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): order resources for building VIPs #7333

Merged
merged 3 commits into from Jul 26, 2023

Conversation

lukidzi
Copy link
Contributor

@lukidzi lukidzi commented Jul 24, 2023

Checklist prior to review

It looks like resources are not ordered; whenever we do a List call, we can get resources in a different order. I've added sorting of the resources to make it stable in case we have a duplicate of the resource and we should use the first in order not randomly.

I tried to use store.ListOrdered but it seems not implemented for memory and k8s? Should we implement it on the store level? WDYT?

  • 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? --
  • Do you need to explicitly set a > Changelog: entry here or add a ci/ label to run fewer/more tests?

@lukidzi lukidzi added the ci/skip-e2e-test PR: Don't run e2e tests label Jul 24, 2023
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
@lukidzi lukidzi requested a review from lobkovilya July 24, 2023 17:12
@lukidzi lukidzi removed the ci/skip-e2e-test PR: Don't run e2e tests label Jul 24, 2023
@lukidzi lukidzi marked this pull request as ready for review July 24, 2023 17:12
@lukidzi lukidzi requested a review from a team as a code owner July 24, 2023 17:12
@lukidzi lukidzi requested review from michaelbeaumont and removed request for a team July 24, 2023 17:12
@lahabana
Copy link
Contributor

@lobkovilya knows details WRT ordered in the store. It's meant to be used carefully IIRC mostly because of caching

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
@lobkovilya
Copy link
Contributor

Please reference #7356 instead

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
@lukidzi lukidzi merged commit ef4f8a2 into kumahq:master Jul 26, 2023
4 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Jul 26, 2023

backporting to release-2.0 with action

backporting to release-2.1 with action
backporting to release-2.2 with action

@github-actions
Copy link
Contributor

backporting to release-2.3 with action

@github-actions
Copy link
Contributor

backporting to release-1.8 with action

kumahq bot pushed a commit that referenced this pull request Jul 26, 2023
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
kumahq bot pushed a commit that referenced this pull request Jul 26, 2023
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
kumahq bot pushed a commit that referenced this pull request Jul 26, 2023
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
kumahq bot pushed a commit that referenced this pull request Jul 26, 2023
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
kumahq bot pushed a commit that referenced this pull request Jul 26, 2023
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
lukidzi pushed a commit that referenced this pull request Jul 26, 2023
…7358)

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
lukidzi pushed a commit that referenced this pull request Jul 26, 2023
…7362)

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
lukidzi pushed a commit that referenced this pull request Jul 26, 2023
…7361)

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
lukidzi pushed a commit that referenced this pull request Jul 26, 2023
…7360)

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
lukidzi pushed a commit that referenced this pull request Jul 26, 2023
…7359)

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants