Danilo Patrucco
cf7eb83155
fix import missing
...
Signed-off-by: Danilo Patrucco <danilo.patrucco@gmail.com>
2 years ago
Danilo Patrucco
8cf9e82063
fixed issues in the lint action script
...
Signed-off-by: Danilo Patrucco <danilo.patrucco@gmail.com>
2 years ago
Antoine Deschênes
869c1d2560
lint: Add --kube-version flag to set capabilities and deprecation rules
...
Signed-off-by: Antoine Deschênes <antoine@antoinedeschenes.com>
3 years ago
Joe Julian
853c18002f
fix quiet lint does not fail on non-linting errors
...
Signed-off-by: Joe Julian <me@joejulian.name>
4 years ago
Matt Farina
4e7e939f19
Updating the Go version in go.mod
...
At this time both Go 1.19 and 1.20 are supported. The version
specified in the go.mod file is the minimum version we expect Helm
to be compiled against. This is the oldest supported version to
support environments where others compile Helm. The Helm project
is using Go 1.20 to build Helm itself.
Updating to Go 1.19 also includes dealing with io/ioutil
deprecation and some additional linting issues around staticcheck.
All the staticcheck issues were in test files so linting was
skipped for those.
Signed-off-by: Matt Farina <matt.farina@suse.com>
4 years ago
cui fliter
09d3f31358
fix a few function names on comments
...
Signed-off-by: cui fliter <imcusg@gmail.com>
4 years ago
Piotr Resztak
383086d397
feat(*): add --quiet flag to 'helm lint'
...
Quiet flag reduce the verbosity, such that the only text
that is written to the console is lint warnings/errors
Closes #9994
Signed-off-by: Piotr Resztak <piotr.resztak@gmail.com>
5 years ago
Kally Fox
f9b1445b63
refactor: use os instead of ioutil's ReadDir
...
Signed-off-by: Kally Fox <kallydev@gmail.com>
5 years ago
Song Shukun
e9f40ed7a5
fix golint failure in pkg/action
...
Signed-off-by: Song Shukun <song.shukun@fujitsu.com>
7 years ago
Nick Lee
cf4bee7ac8
feat(cmd/lint): added a flag for linting subcharts
...
Signed-off-by: Nick Lee <nmkyu.lee@gmail.com>
7 years ago
Kamalashree Nagaraj
73db724c6c
feat(helm): add linting support for '.tar.gz' tarballs for helm charts ( #6829 )
...
When 'helm3 lint <chart-name>.tar.gz' is run, this will lint Chart.yaml in the package
Closes #6535
Signed-off-by: Kamalashree N <nagaraj.kamalashree@gmail.com>
7 years ago
Taylor Thomas
0ba959af0d
feat(lint): Ports v2 functionality for linting pre-release charts
...
This is a port of #5177
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
7 years ago
Matthew Fisher
c1e63a2a17
Merge pull request #6536 from karuppiah7890/fix-lint-for-no-package-found
...
fix silent lint ignore for non existing packaged charts
7 years ago
Karuppiah Natarajan
bb9426c4e2
fix(pkg/lint): fix lint silently ignoring non existing packaged charts
...
Closes #6428
Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>
7 years ago
Matt Farina
9bc7934f35
Updating the module for v3 as the major version
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
7 years ago
Matthew Fisher
9742c8c5a2
fix(action): typo
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Karuppiah Natarajan
25324ca8db
fix install storing computed values in release instead of user supplied values
...
Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>
7 years ago
Thomas O'Donnell
e5668f54fe
Stop multiple error messages in lint results
...
Have fixed a minor error in the lint action that was causing Error
messages from linting chart getting added to the returned results
multiple times.
Signed-off-by: Thomas O'Donnell <andy.tom@gmail.com>
7 years ago
Vibhav Bobade
68a8f36a92
Fix Adding Errors from Linter.Messages to result.Errors
...
This also fixes <nil> beig added to result.Errors
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
7 years ago
Vibhav Bobade
7da1f35386
Clone the vals map for every path to avoid mutation
...
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
7 years ago
Joe Lanford
68ee30b48c
cmd/*,pkg/*: move ValueOptions to cmd package and decouple from SDK
...
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
7 years ago
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
...
Signed-off-by: Adam Reese <adam@reese.io>
8 years ago
Matthew Fisher
f185103b60
ref(action): move AddFlags functions back to cmd
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
8 years ago
Matthew Fisher
2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
8 years ago