Adam Reese
a14e76a65c
chore(*): add canonical import path annotation
...
https://golang.org/doc/go1.4#canonicalimports
8 years ago
Adnan Abdulhussein
f273510c97
fix(lint): fix golint errors
8 years ago
Adnan Abdulhussein
03ca4e892f
feat(lint): support linting multiple charts
8 years ago
Miguel Martinez
3b2ea04348
fix(linter) Typos
8 years ago
Matt Butcher
310ef9bbcb
fix(helm): fix linter test panic
...
Handle a previously unhandled error in the linter. This simply bails out
if a chart's values files do not parse.
Also, changed the implementation of CoalesceValues to return a map even
on error.
8 years ago
Miguel Ángel Martínez Triviño
81fd9edf4d
Merge pull request #899 from migmartri/897-values-refactorign
...
Support Linter for Values namespace
9 years ago
Adnan Abdulhussein
09f56459c7
Improve tests to ensure highest severity is retained
9 years ago
Adnan Abdulhussein
77820c7482
fix(lint): Return non-zero exit status when lint errors present
9 years ago
Michelle Noorali
849afc29bc
Merge pull request #908 from michelleN/feat/836-lint-archived-chart
...
feat(lint): lint an archived chart
9 years ago
Michelle Noorali
a64303d0bf
feat(lint): lint an archived chart
...
* part of #836
9 years ago
Miguel Martinez
12aa72f121
Replacing options interface argument
9 years ago
Matt Butcher
2c07a32a6b
fix(*): fix various style issues from make test-style
...
Closes #847 .
9 years ago
Miguel Martinez
7bb4893cad
Support Linter for Values
9 years ago
Miguel Martinez
d1fe406478
Adding squote test case and generic message
9 years ago
Miguel Martinez
81ac98ad9a
Adding support for associated templates
...
Fixing unit test
9 years ago
Miguel Martinez
03d27779d3
Templates Lint rules
...
Template rules
Adding chart errors
Added function that checks the existence of all the values in the templates
Adding chartfile unit tests
Testing runLinterRule
Fixing out of range
Fixing out of range
Improving quote detector
9 years ago
Matt Butcher
e757b24aed
fix(*): add license header
9 years ago
Miguel Martinez
c2459c06bf
New Chart linter structure
...
Fixed tests
Adding chart name linter
Add lint error
Moving to blocks
Moving to method
Moved lint rules to functions
Semantic version validation
Linting engine
Adding sources and home validations
Sharing file loading
Sharing file loading
Rolling back readme
Rewriting other linters
Fixing tests
Typo
Using chart.Metadata
Fixing format
Adding UNKNOWN in Engine
Adding tabs
Fixing tabs
9 years ago
Matt Butcher
cded50e34f
fix(chartutil): update lint to use chartutil
9 years ago
Matt Butcher
9ca8c27e16
fix(*): change TOML to YAML
9 years ago
Adam Reese
818c878700
chore(*): use k8s.io as the import path
9 years ago
vaikas-google
932663bd5f
add test for malformed values.toml file
9 years ago
vaikas-google
012b0f7c3e
update the lint_test for correct errors
9 years ago
vaikas-google
7edce9b82b
Validate Chart.yaml version for semver, validate that values.toml parses if present
9 years ago
Matt Butcher
75a1aa648e
fix(*): correct numerous golint errors
9 years ago
Matt Butcher
661e516a61
fix(lint): fix style issues
9 years ago
Matt Butcher
f098cb6fb6
fix(*): rewrite import paths
9 years ago
Matt Butcher
cf9c8ebe3c
feat(helm): add a very basic lint command
...
This adds a lint command that just checks to see if the chart is
parseable and if the templates are paresable.
9 years ago