Skip to content

Conversation

@rainest
Copy link
Contributor

@rainest rainest commented Mar 27, 2024

What this PR does / why we need it:

Upgrade KTF on the 2.12.x branch. This pulls in two major package changes:

  • GWAPI goes from v1beta1 to v1. This does not adopt the alias system used in KIC v3; it still imports the upstream package directly.
  • Switch from deck to GDR.

Which issue this PR fixes:

Should fix Kuma test issues.

Special notes for your reviewer:

Although the package updates are significant, I do not expect them to introduce breaking changes. GWAPI APIs should handled by Kubernetes CRD conversions (the version we use doesn't matter, the version on the cluster does--Kubernetes will convert the storage version to the requested version as needed if they're compatible, and AFAIK they are). GDR, aside from the following, is basically the same code as deck with different names. We may have pulled in some extra bugfixes and features 2.x doesn't use, but I'm expecting tests to catch any issues that may introduce.

GDR updates want to include the #5401 fix for same-name entity ID collisions across workspace. This backport does not integrate that fix and simply passes an empty string to FillIDs(), as that fix is tied up in several broader changes to how we manage the parser. It's probably possible to backport this, but I don't think the bug is severe enough to warrant it--I think it's reasonable to ask affected users to upgrade to 3.x if they need to avoid those conflicts. We can reconsider that pending demand for a 2.x fix.

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR should not result in user-facing changes.

Update KTF to to v0.46. This in turn requires migrating from deck to
go-database-reconciler and migrating (most) Gateway API imports from
v1beta to v1.

Use stub values for FillIDs workspaces. This does not include the
complete fix from 0314607 and retains
the original bug from 2.x. Same name entities across workspaces will
still conflict.
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.

2 participants