-
Notifications
You must be signed in to change notification settings - Fork 253
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
build(deps): bump k8s.io/client-go, k8s.io/apimachinery, k8s.io/api, … #1251
Conversation
…sigs.k8s.io/controller-runtime,github.com/onsi/gomega
Thanks for the PR. You'll need to sign your commit by:
|
I see
|
@@ -1,85 +1,85 @@ | |||
module github.com/fluent/fluent-operator/v2 | |||
|
|||
go 1.21 | |||
go 1.22.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/fluent/fluent-operator/blob/master/cmd/fluent-manager/Dockerfile#L2
this should be upgraded too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The files in the dockerfile also need to be upgraded to the latest.
…orage Signed-off-by: jiuxia211 <[email protected]>
Signed-off-by: jiuxia211 <[email protected]>
Signed-off-by: jiuxia211 <[email protected]>
Signed-off-by: jiuxia211 <[email protected]>
I updated update-codegen.sh following https://github.com/weaveworks/flagger/tree/main/hack but it doesn't seem to produce any output or changes and I'm not quite sure why this is happening |
Great, thanks @jiuxia211 ! cc @wanjunlei |
You can run the command in your machine
|
https://github.com/fluent/fluent-operator/blob/master/.github/workflows/build-fd-image.yaml#L179 |
Signed-off-by: jiuxia211 <[email protected]>
Signed-off-by: jiuxia211 <[email protected]>
@@ -1,5 +1,5 @@ | |||
# Build the manager binary | |||
FROM --platform=$BUILDPLATFORM golang:1.21.5-alpine3.17 as builder | |||
FROM --platform=$BUILDPLATFORM golang:1.22.5-alpine3.20 as builder | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it 1.22.5 and not 1.22.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go released 1.22.5 recently, it might be ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wiil change them
&& gem install elasticsearch-xpack -v 7.13.3 \ | ||
&& gem install fluent-plugin-detect-exceptions -v 0.0.14 \ | ||
&& gem install \ | ||
fluent-plugin-s3 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the built-in fluentd plugins shouldn't be remove I think
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wanjunlei @wenchajun what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the latest fluentd build workflow:
- fluentd image is actually first build and pushed to ghcr, not dockerhub https://github.com/fluent/fluent-operator/blob/master/.github/workflows/build-fd-image.yaml#L252-L268
https://github.com/fluent/fluent-operator/blob/master/.github/workflows/build-fd-image.yaml#L294-L310
https://github.com/fluent/fluent-operator/blob/master/.github/workflows/build-fd-image.yaml#L471-L472 - And after all the arm64 and amd64 fluentd images are built and push to ghcr, all these images are synced to dockerhub kubespere org https://github.com/fluent/fluent-operator/blob/master/.github/workflows/build-fd-image.yaml#L494-L505
Using a image on dockerhub kubesphere org as base image is not ok in my opinion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, this is a modification I didn't realize. I made a mistake when I copied it.
Signed-off-by: jiuxia211 <[email protected]>
This is great, thank you @jiuxia211 ! |
@jiuxia211 is it possible for you to upgrade these new dependencies? Thanks |
OK, assign it to me |
…sigs.k8s.io/controller-runtime,github.com/onsi/gomega
What this PR does / why we need it:
This PR updates multiple dependencies to their latest versions to ensure compatibility and benefit from the latest features and bug fixes. Specifically, it bumps the following dependencies:
k8s.io/client-go
from0.26.3
to0.30.2
k8s.io/apimachinery
from0.27.4
to0.30.2
k8s.io/api
from0.26.3
to0.30.2
sigs.k8s.io/controller-runtime
from0.14.6
to0.18.4
github.com/onsi/gomega from
1.30.0
to1.33.1
Which issue(s) this PR fixes:
Fixes #
Does this PR introduced a user-facing change?
None
Additional documentation, usage docs, etc.: