-
Notifications
You must be signed in to change notification settings - Fork 305
feat(helm): add helm-docs, yamllint, and helmfmt for chart quality #3070
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
bf0c302
feat(helm): auto-generate README with helm-docs
avirajkhare00 d01c788
fix: correct helm-docs checksum and exclude generated README from lint
avirajkhare00 faaba7b
fix: use separate --ignore flags for markdownlint
avirajkhare00 0a94009
feat: add yamllint for Helm chart YAML validation
avirajkhare00 348ac6f
feat: add helmfmt for Helm template formatting
avirajkhare00 c512d9a
feat: add pre-commit hooks for Helm and update README
avirajkhare00 5254504
fix: correct helmfmt download URL for Linux x86_64
avirajkhare00 b941e3a
fix: eliminate trailing whitespace in rendered Helm templates
avirajkhare00 fbafca3
fix: add trailing newline to service.yaml
avirajkhare00 71ea43a
Merge branch 'master' into issue-2985-helm-docs
avirajkhare00 be1fa78
Merge branch 'master' into issue-2985-helm-docs
avirajkhare00 fabbd71
fix(helm): address PR review — checksum, ServiceMonitor labels, READM…
avirajkhare00 44d74a4
Merge branch 'master' into issue-2985-helm-docs
avirajkhare00 05f37ac
ci(helm): pin yamllint to 1.38.0 in setup action and chart docs
avirajkhare00 2f8a14a
Merge branch 'master' into issue-2985-helm-docs
spetz 81b8c47
Merge branch 'master' into issue-2985-helm-docs
spetz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| # Licensed to the Apache Software Foundation (ASF) under one | ||
| # or more contributor license agreements. See the NOTICE file | ||
| # distributed with this work for additional information | ||
| # regarding copyright ownership. The ASF licenses this file | ||
| # to you under the Apache License, Version 2.0 (the | ||
| # "License"); you may not use this file except in compliance | ||
| # with the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, | ||
| # software distributed under the License is distributed on an | ||
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| # KIND, either express or implied. See the License for the | ||
| # specific language governing permissions and limitations | ||
| # under the License. | ||
|
|
||
| # yamllint configuration for Helm charts | ||
| # Note: templates/ contains Go templating which yamllint cannot parse, | ||
| # so we only lint values.yaml and Chart.yaml | ||
|
|
||
| yaml-files: | ||
| - '*.yaml' | ||
| - '*.yml' | ||
|
|
||
| ignore: | | ||
| templates/ | ||
|
|
||
| rules: | ||
| braces: | ||
| min-spaces-inside: 0 | ||
| max-spaces-inside: 1 | ||
| brackets: | ||
| min-spaces-inside: 0 | ||
| max-spaces-inside: 0 | ||
| colons: | ||
| max-spaces-before: 0 | ||
| max-spaces-after: 1 | ||
| commas: | ||
| max-spaces-before: 0 | ||
| min-spaces-after: 1 | ||
| max-spaces-after: 1 | ||
| comments: | ||
| require-starting-space: true | ||
| min-spaces-from-content: 1 | ||
| document-end: disable | ||
| document-start: disable | ||
| empty-lines: | ||
| max: 2 | ||
| max-start: 0 | ||
| max-end: 1 | ||
| indentation: | ||
| spaces: 2 | ||
| indent-sequences: true | ||
| key-duplicates: enable | ||
| line-length: | ||
| max: 200 | ||
| allow-non-breakable-words: true | ||
| allow-non-breakable-inline-mappings: true | ||
| new-line-at-end-of-file: enable | ||
| new-lines: | ||
| type: unix | ||
| trailing-spaces: enable | ||
| truthy: | ||
| allowed-values: ['true', 'false', 'yes', 'no'] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.