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
proxy-server: change --delete-existing-uds-file default to true. #498
Conversation
This is followup from discusssion at kubernetes-sigs#476
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jkh52 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 |
@jkh52: GitHub didn't allow me to assign the following users: guettli. Note that only kubernetes-sigs members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this: Instructions 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/test-infra repository. |
/hold OK with the change as long as we discuss it in the public Konnectivity server meeting first. |
Technical reasons aside for wanting to set the default as true. Just in general I feel that if you want to set any bool flag, you set it explicitly such as (--delete-exisiting-uds-file), if it is not set then the default should be assumed to be false. Wouldn't it make setting the flag |
I had the same idea on my mind. I think there is no reason to not delete the file. An alternative would be to make all the things which systemd does to ensure servers don't get accidentaly created twice. But this makes no sense, since this script gets run by systemd (at least in the places I am aware of). |
If we go this route (let's say option B), we should mark the flag deprecated for some time: example. I only slightly prefer option A (this PR currently), and if I'm in the minority I'll switch to B. @cheftako do you have an opinion? It does seem true that |
/unhold |
This was discussed in the OSS biweekly this morning: Meeting Notes. From discussion: a cluster administrator running multiple proxy servers on a single host could possibly want to manage UDS file cleanup in some careful or particular way. There was unanimous consensus to go forward with keeping the flag rather than hardcoding the cleanup. |
/lgtm |
This is followup from discusssion at #476