-
Notifications
You must be signed in to change notification settings - Fork 546
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
chore(deps): bump to kube 1.17.3 #1370
chore(deps): bump to kube 1.17.3 #1370
Conversation
/hold |
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.
Thanks for doing this. I have 2 questions:
- Why are we no longer using
replace
to pin kube versions like what openshift is doing? - Would you consider using the solution here: 'unknown revision v0.0.0' errors, seemingly due to 'require k8s.io/foo v0.0.0' kubernetes/kubernetes#79384?
cbe3ff4
to
7bb27aa
Compare
/hold-cancel
|
go.mod
Outdated
sigs.k8s.io/controller-tools v0.2.4 | ||
) | ||
|
||
// NOTE: k8s.io/Kubernetes v1.17 is currently vendored by hand in pkg/lib and should be | ||
// bumped along with other kube modules unitll dependency on k8s.io/Kubernetes is removed | ||
|
||
replace ( | ||
github.com/docker/docker => github.com/moby/moby v0.7.3-0.20190826074503-38ab9da00309 // Required by Helm | ||
github.com/openshift/api => github.com/openshift/api v3.9.1-0.20190924102528-32369d4db2ad+incompatible |
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.
Can this dependency be fixed as well?
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.
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.0.0-20190918161442-d4c9c65c82af | ||
k8s.io/sample-cli-plugin => k8s.io/sample-cli-plugin v0.0.0-20190918162410-e45c26d066f2 | ||
k8s.io/sample-controller => k8s.io/sample-controller v0.0.0-20190918161628-92eb3cb7496c | ||
sigs.k8s.io/structured-merge-diff => sigs.k8s.io/structured-merge-diff v1.0.1-0.20191108220359-b1b620dd3f06 |
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.
this doesn't work if we just require 1.0.1
?
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.
@ecordell unfortunately, this is the version that k8s.io/apiserver
needs, but there is another module that is changing the version of sigs.k8s.io/structured-merge-diff
to a version that is breaking for v0.17.3 of k8s.io/apiserver
. So had to pin this version to appease all modules.
7bb27aa
to
f66fde1
Compare
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.
Thanks for the update. We would want this changed to master or whatever openshift/oc is using as well.
go.mod
Outdated
@@ -14,8 +15,8 @@ require ( | |||
github.com/mitchellh/hashstructure v1.0.0 | |||
github.com/openshift/api v3.9.1-0.20190924102528-32369d4db2ad+incompatible |
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.
you might wan to fix this!
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.
@Bowenislandsong thanks for noticing it! I've changed it to the tag being used by openshift/oc
currently.
/retest unit |
f66fde1
to
b4a603f
Compare
/hold cancel |
/test unit |
/test e2e-gcp-upgrade |
1 similar comment
/test e2e-gcp-upgrade |
Updated PR to include a commit that updates API types in accordance with updated openapi specifications. References: |
Thanks for doing this: hopefully soon the replace usage will be rare and we'll be able to import without problems :) |
fb47fbe
to
f8f75f6
Compare
/test e2e-gcp |
1 similar comment
/test e2e-gcp |
/retest |
* Updates kube dependencies to 1.17.3. * Also removes dependency on k8s.io/kubernetes my manually vendoring 1.17 version of it inside pkg/lib/ as a stop gap measure till other alternatives to rbac authorizer and any other parts of k8s.io/kubernetes used in olm is found.
In kube 1.17, the openapi structural schema validation was updated to validate CRDs according to the documented API semantics of x-kubernetes-list-type and x-kubernetes-map-type atomic to reject non-atomic sub-types. This PR updates the API types to follow the specification.
f8f75f6
to
57b580e
Compare
/retest Please review the full test history for this PR and help us cut down flakes. |
27 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
Description of the change:
vendoring 1.17 version of it inside pkg/lib/ as a stop gap
measure till other alternatives to rbac authorizer and any
other parts of k8s.io/kubernetes used in olm is found.
specification
Reviewer Checklist
/docs