Skip to content

chore: Bump k8s deps#281

Merged
ritazh merged 3 commits intoopen-policy-agent:masterfrom
JorTurFer:bump-k8s-deps
Nov 5, 2024
Merged

chore: Bump k8s deps#281
ritazh merged 3 commits intoopen-policy-agent:masterfrom
JorTurFer:bump-k8s-deps

Conversation

@JorTurFer
Copy link
Contributor

@JorTurFer JorTurFer commented Nov 2, 2024

This PR bumps k8s deps to v0.31.2. We use this pkg in KEDA, and we'd like to ship a release with updated k8s deps. Could you ship a release after merging the PR? 🙏

As k8s have introduced a new check to prevent multiple controller with the same name, this PR adds a field to customize the contoller name for unit tests. This is required because the controller is registered multiple times with different configurations

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
@codecov-commenter
Copy link

codecov-commenter commented Nov 2, 2024

Codecov Report

❌ Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.79%. Comparing base (190188d) to head (b968c09).
⚠️ Report is 161 commits behind head on master.

Files with missing lines Patch % Lines
pkg/rotator/rotator.go 33.33% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #281      +/-   ##
==========================================
- Coverage   57.16%   56.79%   -0.38%     
==========================================
  Files           1        1              
  Lines         572      574       +2     
==========================================
- Hits          327      326       -1     
- Misses        181      183       +2     
- Partials       64       65       +1     
Flag Coverage Δ
unittests 56.79% <33.33%> (-0.38%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ritazh ritazh requested a review from maxsmythe November 5, 2024 00:20
Copy link
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after Rita's suggestion

Co-authored-by: Rita Zhang <rita.z.zhang@gmail.com>
Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
@JorTurFer
Copy link
Contributor Author

Applied the suggestion, nice catch! :)

@ritazh ritazh merged commit 1898f84 into open-policy-agent:master Nov 5, 2024
@JorTurFer JorTurFer deleted the bump-k8s-deps branch November 5, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants