Skip to content
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

Expand best practices around documenting values.yaml #1475

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

matt-carr
Copy link

@matt-carr matt-carr commented Jun 7, 2023

Followup from helm/helm#11787

My team went through a very long exercise of updating our values.yaml documentation and weren't sure what the best practices around nested values and subcharts were. These are our suggestions, based on what seemed to make sense at the time - naturally, open to suggestions, and even to ditch this whole thing in favour of a single line "use your best judgement with nested properties".

The intent is to match up as much as possible with the best practices laid out earlier - specifically, easily grep-able names

Signed-off-by: Matt Carr <mcarr@kinaxis.com>

### Nested Properties:

When documenting nested properties, use the "fully qualified" name of the property
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"fully qualified" isn't great but I couldn't think of a better descriptor at the time. Maybe

Suggested change
When documenting nested properties, use the "fully qualified" name of the property
When documenting nested properties, use the complete path of the property

?

@matt-carr
Copy link
Author

matt-carr commented Aug 14, 2023

~bump~

@matt-carr
Copy link
Author

🙃 bump 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant