-
Notifications
You must be signed in to change notification settings - Fork 186
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
Update CSINodeInfo #101
Update CSINodeInfo #101
Conversation
Thanks @jsafrane ! I'll give this PR a try. |
I tested this PR with and without enabling CSINodeInfo, but I still got the error: external-attacher logs: I1126 20:03:33.457293 1 csi_handler.go:524] Can't get CSINodeInfo 127.0.0.1: csinodeinfos.csi.storage.k8s.io "127.0.0.1" not found driver-registrar logs: I1126 20:00:30.487440 1 connection.go:136] GRPC call: /csi.v1.Node/NodeGetInfo |
@xing-yang are you using the new plugin registration dir? |
Yes. Actually I realized I have been testing using K8S v1.13.0-beta.1 so my tests are invalid. I need to re-test using beta.2. |
Tested with CSINodeInfo enabled using K8S v1.13.0-beta.2. It works! |
Tested without CSINodeInfo using K8S v1.13.0-beta.2. It works as well! |
LGTM |
This PR updates csi-attacher image built from this fix: kubernetes-csi/external-attacher#101. This fix allows attacher to work with and without CSINodeInfo feature gate.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jsafrane, saad-ali The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
name = "github.com/json-iterator/go" | ||
version = "1.1.4" | ||
|
||
// TODO: use [[constraint]] when kubernetes-csi/kubernetes-csi-migration-library uses 1.13 code |
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.
Let's cherry pick this to |
Picked in #103 |
Kubernetes 1.13 introduced
CSINodeInfo.Spec
+Status
. Fix the code and vendor kubernetes 1.13.0-beta2.Fixes: #99
@xing-yang, I fixed your PR to vendor the right code from the right places (I think :-).