Bump k8s.io/* to v0.35.3 and controller-runtime to v0.23.3#1455
Bump k8s.io/* to v0.35.3 and controller-runtime to v0.23.3#1455Rohit-0505 wants to merge 3 commits intoironcore-dev:mainfrom
k8s.io/* to v0.35.3 and controller-runtime to v0.23.3#1455Conversation
aee3ac9 to
f845390
Compare
d1f5f7c to
a1fc442
Compare
61c36e2 to
a16e8fd
Compare
k8s.io/* to v0.35.0 and controller-runtime to v0.23.1
a16e8fd to
e0569b7
Compare
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
afritzler
left a comment
There was a problem hiding this comment.
Thanks for your PR @Rohit-0505! Could you also adjust the config of the api-reference config here: https://github.com/ironcore-dev/ironcore/blob/main/hack/api-reference/config.json#L24 and regenerate the docs.
.github/workflows/lint.yml
Outdated
| uses: golangci/golangci-lint-action@v9 | ||
| with: | ||
| version: v2.1 | ||
| version: latest |
There was a problem hiding this comment.
Can we pin this version to the same we have defined in the Makefile: v2.11
| metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||
| "k8s.io/apimachinery/pkg/types" | ||
| "k8s.io/client-go/tools/record" | ||
| k8sClientEvents "k8s.io/client-go/tools/events" |
There was a problem hiding this comment.
Can we use all lowercase import names.
There was a problem hiding this comment.
Also just call the import k8sevents.
| "github.com/go-logr/logr" | ||
| commonv1alpha1 "github.com/ironcore-dev/ironcore/api/common/v1alpha1" | ||
| networkingv1alpha1 "github.com/ironcore-dev/ironcore/api/networking/v1alpha1" | ||
| networkingv1alpha1Apply "github.com/ironcore-dev/ironcore/client-go/applyconfigurations/networking/v1alpha1" |
There was a problem hiding this comment.
Please use lowecase import names.
| Data: iriAccess.SecretData, | ||
| } | ||
|
|
||
| if err := ctrl.SetControllerReference(bucket, bucketSecret, r.Scheme); err != nil { |
There was a problem hiding this comment.
Why did we get rid of the owner ref here?
There was a problem hiding this comment.
Thanks, updated it with the missing ownerRef
| poolletutils "github.com/ironcore-dev/ironcore/poollet/common/utils" | ||
| volumepoolletv1alpha1 "github.com/ironcore-dev/ironcore/poollet/volumepoollet/api/v1alpha1" | ||
| "github.com/ironcore-dev/ironcore/poollet/volumepoollet/controllers/events" | ||
| volumepoolletEvents "github.com/ironcore-dev/ironcore/poollet/volumepoollet/controllers/events" |
There was a problem hiding this comment.
Please use lower case import name here.
| }, | ||
| Data: iriAccess.SecretData, | ||
| } | ||
| _ = ctrl.SetControllerReference(volume, volumeSecret, r.Scheme) |
There was a problem hiding this comment.
Same here. Don't we need an owner ref?
There was a problem hiding this comment.
Thanks, updated it with the missing ownerRef
| poolletutils "github.com/ironcore-dev/ironcore/poollet/common/utils" | ||
| volumepoolletv1alpha1 "github.com/ironcore-dev/ironcore/poollet/volumepoollet/api/v1alpha1" | ||
| "github.com/ironcore-dev/ironcore/poollet/volumepoollet/controllers/events" | ||
| volumepoolletEvents "github.com/ironcore-dev/ironcore/poollet/volumepoollet/controllers/events" |
go.mod
Outdated
| k8s.io/client-go v0.34.1 | ||
| k8s.io/code-generator v0.34.1 | ||
| k8s.io/component-base v0.34.1 | ||
| k8s.io/api v0.35.0 |
There was a problem hiding this comment.
Can we move here to the latest 0.35.x version.
There was a problem hiding this comment.
updated to 0.35.3
k8s.io/* to v0.35.0 and controller-runtime to v0.23.1k8s.io/* to v0.35.3 and controller-runtime to v0.23.3
8e7e6b8 to
9e8fb89
Compare
9e8fb89 to
03f656e
Compare
Proposed Changes
Fixes #1440