refactor: use common sidecar flags functionality#684
refactor: use common sidecar flags functionality#684k8s-ci-robot merged 1 commit intokubernetes-csi:masterfrom
Conversation
|
Welcome @DerekFrank! |
|
Hi @DerekFrank. Thanks for your PR. I'm waiting for a kubernetes-csi member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/ok-to-test |
4a42ca3 to
845687f
Compare
jsafrane
left a comment
There was a problem hiding this comment.
The code is good, however, we will need some changes in the csi-lib utils.
| func RegisterCommonFlags(flags *flag.FlagSet) { | ||
| flags.BoolVar(&Configuration.ShowVersion, "version", false, "Show version.") | ||
| flags.StringVar(&Configuration.KubeConfig, "kubeconfig", "", "Absolute path to the kubeconfig file. Required only when running out of cluster.") | ||
| flags.StringVar(&Configuration.CSIAddress, "csi-address", "/run/csi/socket", "The gRPC endpoint for Target CSI Volume.") |
There was a problem hiding this comment.
This changes "Address of the CSI driver socket" to "The gRPC endpoint for Target CSI Volume". I think the original help text was much better. CSI volumes don't have sockets, CSI drivers have.
vendor/github.com/kubernetes-csi/csi-lib-utils/standardflags/flags.go
Show resolved
Hide resolved
d45a149 to
b47fd07
Compare
b47fd07 to
9eb8ef0
Compare
f515ee9 to
259d27e
Compare
259d27e to
195ba0a
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: DerekFrank, jsafrane The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This PR completes refactor from kubernetes-csi/csi-lib-utils#202
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: