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

Update k8s dependencies to v0.28.5 #123

Merged
merged 3 commits into from
Jan 9, 2024

Conversation

Neo2308
Copy link
Contributor

@Neo2308 Neo2308 commented Jan 9, 2024

Update k8s dependencies to v0.28.5
Update operator-framework/api dependency which has k8s 1.28 changes

Relates to: operator-framework/operator-sdk#6554

@Neo2308 Neo2308 requested a review from a team as a code owner January 9, 2024 18:29
Copy link

codecov bot commented Jan 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (152ee1f) 80.99% compared to head (11e91fd) 80.99%.
Report is 1 commits behind head on main.

❗ Current head 11e91fd differs from pull request most recent head eb22082. Consider uploading reports for the commit eb22082 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #123   +/-   ##
=======================================
  Coverage   80.99%   80.99%           
=======================================
  Files          17       17           
  Lines         484      484           
=======================================
  Hits          392      392           
  Misses         82       82           
  Partials       10       10           

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

go.mod Outdated
k8s.io/client-go v0.27.2
k8s.io/utils v0.0.0-20230220204549-a5ecb0141aa5
sigs.k8s.io/controller-runtime v0.15.0
k8s.io/api v0.28.4
Copy link
Member

Choose a reason for hiding this comment

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

Could we bump all of the k8s.io versions to 0.28.5, since that is the most recent?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@Neo2308 Neo2308 changed the title Update k8s dependencies to v0.28.4 Update k8s dependencies to v0.28.5 Jan 9, 2024
go.mod Outdated
Comment on lines 65 to 66
k8s.io/apiextensions-apiserver v0.28.4 // indirect
k8s.io/component-base v0.28.4 // indirect
Copy link
Member

Choose a reason for hiding this comment

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

These too please 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

Side-note: While in this case, there might not be an issue, I think the go best practice is to only update the direct dependencies and let the indirect dependencies resolve themselves (except if there is something very specific that we need). Updating the indirect dependencies manually can sometimes result in unexpected & weird behaviour.

@ncdc ncdc merged commit b51f67c into operator-framework:main Jan 9, 2024
4 checks passed
@Neo2308 Neo2308 deleted the feature/main/bump-k8s-0.28.4 branch January 9, 2024 21:18
@acornett21
Copy link
Contributor

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