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

feat: sanitize plugins configuration built from secrets #5495

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

czeslavo
Copy link
Contributor

@czeslavo czeslavo commented Jan 26, 2024

What this PR does / why we need it:

It introduces data sanitization for plugins' configuration when it is sourced from Secrets.

Which issue this PR fixes:

Part of #5467.

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

@czeslavo czeslavo force-pushed the feat/sanitize-plugins-config branch 2 times, most recently from ae45dd8 to b7427aa Compare January 26, 2024 19:03
Copy link

codecov bot commented Jan 26, 2024

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (4df8f2a) 69.8% compared to head (db23b87) 69.8%.

Files Patch % Lines
internal/dataplane/kongstate/plugin.go 85.5% 7 Missing and 3 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            main   #5495     +/-   ##
=======================================
- Coverage   69.8%   69.8%   -0.1%     
=======================================
  Files        176     176             
  Lines      22792   22857     +65     
=======================================
+ Hits       15919   15959     +40     
- Misses      5935    5956     +21     
- Partials     938     942      +4     

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

@czeslavo czeslavo self-assigned this Jan 26, 2024
@czeslavo czeslavo added this to the KIC v3.1.x milestone Jan 26, 2024
@czeslavo czeslavo marked this pull request as ready for review January 26, 2024 19:24
@czeslavo czeslavo requested a review from a team as a code owner January 26, 2024 19:24
@czeslavo czeslavo force-pushed the feat/sanitize-plugins-config branch 4 times, most recently from 74e50f4 to 92a28cf Compare January 29, 2024 08:42
programmer04
programmer04 previously approved these changes Jan 29, 2024
internal/dataplane/kongstate/plugin.go Show resolved Hide resolved
@czeslavo czeslavo merged commit 2d615e3 into main Jan 29, 2024
37 checks passed
@czeslavo czeslavo deleted the feat/sanitize-plugins-config branch January 29, 2024 15:22
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

2 participants