This PR updates all the go dependencies to latest available as of today via:
go get -u ./... && go mod tidy in each of the project folders
Updating the container image builder version to Go 1.22
Edit: Okay much more things needed additional fixes:
Found other places with different go builder images
Bump controller-tools to fix an incompat with 1.22
There's also seems to be some sort of incompat between latest version of k8s libs, had to keep k8s.io/client-go to < 0.30
Several APIs in various libs were deprecated, they've now been replaced with the new versions (e.g. k8s.io/utils/pointer -> k8s.io/utils/ptr & corev1.ResourceRequirements -> corev1.VolumeResourceRequirements)
Various codegens needed to also be bumped
Why are these changes needed?
Bumping some out of date dependencies to fix published vulns
This PR updates all the go dependencies to latest available as of today via:
go get -u ./... && go mod tidy
in each of the project folders1.22
Edit: Okay much more things needed additional fixes:
k8s.io/client-go
to <0.30
k8s.io/utils/pointer
->k8s.io/utils/ptr
&corev1.ResourceRequirements
->corev1.VolumeResourceRequirements
)Why are these changes needed?
Bumping some out of date dependencies to fix published vulns
Related issue number
Closes #1994 Closes #1995 Closes #1996
Checks