rancher / rke2-docs

Apache License 2.0
8 stars 74 forks source link

Document default server config values #211

Open lindhe opened 3 months ago

lindhe commented 3 months ago

Many of the settings in server_config.md have no documented default value:

image

Would be amazing if this could be improved! I would be happy to help, but I don't know where to look to identify the default values.

dereknola commented 2 months ago

If not documented, the defaults are the "default Golang values" of each type. So any boolean are false, any integers are 0, and any strings are empty "".

lindhe commented 2 months ago

Thank you for explaining that!

Personally, I prefer explicitness in documentation. It makes it much easier for everyone to read, with no need for special knowledge or for people to make assumptions. Since the docs never mentions Golang, or which type the values are, I still think we should try and improve it. 🙂

Since you informed me of their defaults, I guess I should be able to make a PR now. Do you think that would be appreciated?