csi-driver-host-path
csi-driver-host-path copied to clipboard
Add signal catch to stop the server gracefully
What type of PR is this? /kind bug
What this PR does / why we need it:
Add signal catch to stop the server gracefully, when the server stopped, the sock file was removed accordingly.
Then the wg
was not needed any more.
Tested with the latest code, safe to merge.
Which issue(s) this PR fixes: Fixes #454
Special notes for your reviewer:
Also fixed the default sock file to unix:///tmp/csi.sock
.
Does this PR introduce a user-facing change?:
NONE