-
Notifications
You must be signed in to change notification settings - Fork 270
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
docs: Add all command-line options to list. #806
docs: Add all command-line options to list. #806
Conversation
This should address #805, at least somewhat. |
@jcmoraisjr, i added a bunch of questions – if you want you can informally reply and i'd be happy to elaborate and fix up the descriptions in the documentation. If this is useful of course. 😄 |
Hi Paul, thanks for the time invested on this! The launch functionality is one of the last features we inherited from the old times of k8s/ingress as a dependency (all the current pkg/common/* source files) and wasn't ported to the new controller yet. Launch is responsible for parse and show the command-line options, and some of them we simply don't use. Please give me a few more days, I'll deprecate what we don't use, revise all the inline doc using your questions as a guideline, and will notify here as soon as it's done and PR'ed. |
No problem, give me a ping when i can update this doc. Thanks again for taking the time to address all of this! 🥬 🍌 |
I've just added a PR that tries to fix some alignment issues and also some bad descriptions to the help output of command-line options. I hope most of your questions were answered, I'll comment the ones that maybe wasn't and leave here the current output for convenience. Don't hesitate to ping here if you need anything.
|
Wow, that looks excellent, thanks – i'll have a look at this later and update the PR. Thank you! |
Alright, i've made some small adjustments based on your answers. Let me know if there's anything else i need to do! 👍 |
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.
Just a few considerations and I'm done. Btw a pretty good job! Thanks for starting this review.
lgtm, thanks! merging. |
adding or updating the following command-line options: * docs(command-line.md): Clarify empty string default. * docs(command-line.md): Add --apiserver-host. * docs(command-line.md): Consistent whitespace and lines. * docs(command-line.md): Add --configmap. * docs(command-line.md): Add --election-id. * docs(command-line.md): Add --force-namespace-isolation. * docs(command-line.md): Add --health-check-path. * docs(command-line.md): Add --report-node-internal-ip-address. * docs(command-line.md): Add --sync-period. * docs(command-line.md): Add --update-status. * docs(command-line.md): Add --update-status-on-shutdown. * docs(command-line.md): Add --validate-config. * docs(command-line.md): Mention --version. * docs(command-line.md): Mention --force-namespace-isolation in --watch-namespace. * docs(command-line.md): Add --v, logging verbosity.
adding or updating the following command-line options: * docs(command-line.md): Clarify empty string default. * docs(command-line.md): Add --apiserver-host. * docs(command-line.md): Consistent whitespace and lines. * docs(command-line.md): Add --configmap. * docs(command-line.md): Add --election-id. * docs(command-line.md): Add --force-namespace-isolation. * docs(command-line.md): Add --health-check-path. * docs(command-line.md): Add --report-node-internal-ip-address. * docs(command-line.md): Add --sync-period. * docs(command-line.md): Add --update-status. * docs(command-line.md): Add --update-status-on-shutdown. * docs(command-line.md): Add --validate-config. * docs(command-line.md): Mention --version. * docs(command-line.md): Mention --force-namespace-isolation in --watch-namespace. * docs(command-line.md): Add --v, logging verbosity.
Hey, i don't know if this is correct or helpful, but i thought i'd try to go through the code and add all the command-line flags i can find.
I wasn't sure about the description on some of them, feel free to amend or tell me to do it better 😊