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

[RHCLOUD-16216] Update k8s batch/v1beta1 to batch/v1 #454

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

BlakeHolifield
Copy link
Contributor

A good bit going on here, so I'll summarize:

  • CronJob was promoted to batch/v1 in k8s.io/api v0.21.0.
  • batch/v1beta1 is being removed in v0.25.0. So an API package update was needed. I went ahead and jumped to the latest on v0.22.0
  • Because of this update, go1.15 is no longer sufficient and at least go1.16 is needed.
  • github.com/go-logr/logr had to be downgraded from 1.1.0 => 0.4.0 because of this controller-runtime issue, but this is a small upgrade from our current version. Latest won't work yet.

@psav
Copy link
Collaborator

psav commented Sep 28, 2021

Starting to shape up - but we can't merge this until UBI8/RHEL8 have the go-toolset for glolang version 1.16.

@psav psav added on hold Waiting for a condition to become true pr-functional-change Will result in a new binary uprev Some dependency needs updating to a newer version labels Sep 28, 2021
@BlakeHolifield
Copy link
Contributor Author

Okay I'm gonna put a pin in this for now. We're relying on ubi8/go-tools:1-16 to get released and I'm not sure when that will happen. I'll dig into the Ubuntu $GOPATH stuff when that happens. We have until k8s 1.25. Given that 1.23 is releasing in Q4 2021 I think we have plenty of time.

@psav psav marked this pull request as ready for review December 9, 2021 10:51
@psav psav removed the on hold Waiting for a condition to become true label Dec 9, 2021
@psav
Copy link
Collaborator

psav commented Dec 9, 2021

@BlakeHolifield I rebased this today and it seems to be good

@psav psav changed the title update k8s batch/v1beta1 to batch/v1 [RHCLOUD-16216] Update k8s batch/v1beta1 to batch/v1 Dec 9, 2021
@psav psav merged commit 50eda9a into RedHatInsights:master Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-functional-change Will result in a new binary uprev Some dependency needs updating to a newer version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants