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(3.1.x): fix(konnect) avoid collisions when redacting (#5964) #6001

Merged
merged 2 commits into from
May 11, 2024

Conversation

randmonkey
Copy link
Contributor

What this PR does / why we need it:

Which issue this PR fixes:

Special notes for your reviewer:

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

Copy link

codecov bot commented May 10, 2024

Codecov Report

Attention: Patch coverage is 76.92308% with 3 lines in your changes are missing coverage. Please review.

❗ No coverage uploaded for pull request base (release/3.1.x@949ab33). Click here to learn what that means.

Files Patch % Lines
internal/util/uuid.go 0.0% 2 Missing ⚠️
internal/dataplane/kong_client.go 50.0% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##             release/3.1.x   #6001   +/-   ##
===============================================
  Coverage                 ?   72.0%           
===============================================
  Files                    ?     177           
  Lines                    ?   18313           
  Branches                 ?       0           
===============================================
  Hits                     ?   13201           
  Misses                   ?    4150           
  Partials                 ?     962           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@randmonkey randmonkey marked this pull request as ready for review May 10, 2024 14:07
@randmonkey randmonkey requested a review from a team as a code owner May 10, 2024 14:07
czeslavo
czeslavo previously approved these changes May 10, 2024
rainest and others added 2 commits May 11, 2024 10:34
When generating sanitized configuration for Konnect, use random values
to redact unique fields.

Internally, go-database-reconciler builds an in-memory database with
certain fields as primary keys. Using static redacted values for these
results in collisions in that database.

(cherry picked from commit 4b60bf8)
@randmonkey randmonkey merged commit 61fb5ed into release/3.1.x May 11, 2024
35 checks passed
@randmonkey randmonkey deleted the backport-5964-to-release/3.1.x branch May 11, 2024 13:00
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.

4 participants