-
Notifications
You must be signed in to change notification settings - Fork 39.3k
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
Add test cluster check when starting csi proxy #93789
Conversation
/test pull-kubernetes-e2e-kind |
/retest |
if (ShouldWrite-File ${env:K8S_DIR}\diskutil.exe) { | ||
# The source code of this executable file is https://github.com/kubernetes-sigs/sig-windows-tools/blob/master/cmd/diskutil/diskutil.c | ||
MustDownload-File -OutFile ${env:K8S_DIR}\diskutil.exe ` | ||
-URLs "https://ddebroywin1.s3-us-west-2.amazonaws.com/diskutil.exe" |
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.
it's kind of ok to download from the above URL if the cluster is for test, it is not ok if it is not for test.
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.
we recently added an API in csi-proxy which will remove the need of this diskutil. I will update driver and remove this part after testing.
Add the check for test cluster when starting csi proxy
Thanks Jing. So this is now just adding a check that we missed the first time around? Was there anything else you wanted this PR to do? If we can remove the dependency on diskutil.exe like you said then that would be good, but if we can't do it now then we can just submit this. |
/retest |
Now csi-proxy can handle getDiskName already. But I am waiting for a new release cut so that our build and release pipeline can get the latest version. It should be done this week. We can merge this one first, I think |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jingxu97, yliaog 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 |
/lgtm Thanks! |
remove the check for test cluster when downloading csi proxy
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: