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: do not sanitize plugins' config #6138

Merged
merged 2 commits into from
Jun 6, 2024
Merged

fix: do not sanitize plugins' config #6138

merged 2 commits into from
Jun 6, 2024

Conversation

czeslavo
Copy link
Contributor

@czeslavo czeslavo commented Jun 5, 2024

What this PR does / why we need it:

This reverts commit 2d615e3.

Which issue this PR fixes:

Fixes #5692.

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

@czeslavo czeslavo self-assigned this Jun 5, 2024
@czeslavo czeslavo added this to the KIC v3.2.x milestone Jun 5, 2024
@czeslavo czeslavo marked this pull request as ready for review June 5, 2024 11:46
@czeslavo czeslavo requested a review from a team as a code owner June 5, 2024 11:46
Copy link

codecov bot commented Jun 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.5%. Comparing base (8a88685) to head (f38af29).

Current head f38af29 differs from pull request most recent head 2e0357d

Please upload reports for the commit 2e0357d to get more accurate results.

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #6138     +/-   ##
=======================================
+ Coverage   73.8%   75.5%   +1.7%     
=======================================
  Files        197     197             
  Lines      19382   19330     -52     
=======================================
+ Hits       14314   14611    +297     
+ Misses      4085    3726    -359     
- Partials     983     993     +10     

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

@czeslavo czeslavo added the fix label Jun 5, 2024
@rainest rainest merged commit 21ad660 into main Jun 6, 2024
38 checks passed
@rainest rainest deleted the revert-plugins-sanitize branch June 6, 2024 00:22
@mheap mheap mentioned this pull request Jun 6, 2024
29 tasks
@team-k8s-bot
Copy link
Collaborator

The backport to release/3.1.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release/3.1.x release/3.1.x
# Navigate to the new working tree
cd .worktrees/backport-release/3.1.x
# Create a new branch
git switch --create backport-6138-to-release/3.1.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 21ad6608c4dcd6367c12189938920812b17cabc0
# Push it to GitHub
git push --set-upstream origin backport-6138-to-release/3.1.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release/3.1.x

Then, create a pull request where the base branch is release/3.1.x and the compare/head branch is backport-6138-to-release/3.1.x.

pmalek pushed a commit that referenced this pull request Jun 6, 2024
* fix: do not sanitize plugins' config

This reverts commit 2d615e3.

* ensure we do not sanitize plugins' config in ut
rainest pushed a commit that referenced this pull request Jun 6, 2024
* fix: do not sanitize plugins' config

This reverts commit 2d615e3.

* ensure we do not sanitize plugins' config in ut
@pmalek
Copy link
Member

pmalek commented Jun 6, 2024

Manual backport in #6155

rainest pushed a commit that referenced this pull request Jun 7, 2024
…#6155)

* fix: do not sanitize plugins' config

This reverts commit 2d615e3.

* ensure we do not sanitize plugins' config in ut

Co-authored-by: Grzegorz Burzyński <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KongPlugin Konnect sync fails when Konnect sanitizer enabled and configFrom used
4 participants