-
Notifications
You must be signed in to change notification settings - Fork 103
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
Simplified and updated go.mod #1325
Conversation
Hi @armandgrillet - thanks for your contribution! I think this should be OK. We were fighting some diamond dependency issues, so pending builds of the CLI and controller working I think we're OK to merge this. |
@armandgrillet You will still need to depend on the SHA for this at the moment until we make a tagged release for the next version of KUDO, FYI. |
@gerred Thanks for the information! I can use a SHA for my use case so it's all good 😄 . |
k8s.io/apiextensions-apiserver v0.0.0-20190918161926-8f644eb6e783 | ||
k8s.io/apimachinery v0.16.6 | ||
k8s.io/client-go v0.16.6 | ||
k8s.io/code-generator v0.16.6 |
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.
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.
Yes, as the mesage on #1244 explained, this is the version which fixes kubernetes/code-generator#87 (which only surfaces in some environments).
Downgrading means you'll re-introduce the issue @nfnt
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.
Or actually @armandgrillet ☝️
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.
LGTM!
Bumped most k8s.io packages to v0.16.6 Signed-off-by: Andreas Neumann <aneumann@mesosphere.com>
Bumped most k8s.io packages to v0.16.6 Signed-off-by: Thomas Runyon <runyontr@gmail.com>
I am updating repositories depending on Kudo and I have faced some issues due to the use of
k8s.io/client-go v11.0.0+incompatible
. I have thus updated KUDO's package dependencies to be clearer by using recently tagged k8s.io releases instead of SHAs related to outdated versions such as v0.16.2.After these two commits, using
go mod tidy
does not change a thing andmake
successfully runs. I am not sure yet that these changes will fix my issue but they should do no harm to the kudo repository and improve the dependency management.I have not updated
k8s.io/apiextensions-apiserver
due to the warning message../go/pkg/mod/k8s.io/component-base@v0.16.6/metrics/legacyregistry/registry.go:44:9: undefined: prometheus.InstrumentHandler
when runninggo get k8s.io/apiextensions-apiserver@v0.16.6
.