Skip to content

Clarify templates directory is optional for umbrella charts#2134

Open
promptless-for-oss wants to merge 1 commit into
helm:mainfrom
Promptless:promptless/clarify-templates-directory-optional
Open

Clarify templates directory is optional for umbrella charts#2134
promptless-for-oss wants to merge 1 commit into
helm:mainfrom
Promptless:promptless/clarify-templates-directory-optional

Conversation

@promptless-for-oss

Copy link
Copy Markdown
Contributor

Open this suggestion in Promptless to view citations and reasoning process

Marks the templates/ directory as OPTIONAL in the chart file structure documentation and adds a note explaining that umbrella charts (which aggregate subcharts without having their own templates) pass helm lint --strict without issue.

Trigger Events


Tip: Tell your friends working on non-commercial open-source projects to apply for free Promptless access at promptless.ai/oss ❤️

Mark the templates/ directory as OPTIONAL in the chart file structure
and add a note explaining that umbrella charts typically omit it.
This clarifies that charts without templates pass helm lint --strict.

Signed-off-by: promptless[bot] <promptless[bot]@users.noreply.github.com>
```

Helm reserves use of the `charts/`, `crds/`, and `templates/` directories, and
of the listed file names. Other files will be left as they are.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added clarification that templates/ directory is optional based on PR #32208 which restored correct linting behavior for umbrella charts. The PR changed the missing templates check from Warning to Info severity, ensuring umbrella charts pass helm lint --strict.

Source: helm/helm#32208

Comment thread docs/topics/charts.mdx
Helm reserves use of the `charts/`, `crds/`, and `templates/` directories, and
of the listed file names. Other files will be left as they are.

The `templates/` directory is optional. Umbrella charts that only aggregate

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added clarification that templates/ directory is optional based on PR #32208 which restored correct linting behavior for umbrella charts. The PR changed the missing templates check from Warning to Info severity, ensuring umbrella charts pass helm lint --strict.

Source: helm/helm#32208

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.

1 participant