11 Commits
Author SHA1 Message Date
Matt Farina aa4dae0535 Updating to newer versions of dependencies
* This was initiated by new versions from Masterminds
* Linting was set to check for the same chart version as the other
  checks of this were. >0.0.0-0. The -0 is important to pull in
  prereleases. The latest version of semver Validate now finds
  errors here properly where some were missed before
* 0.0.0 is a valid semantic version. Instead of expecting it to be
  invalid in the tests to check validation now using an invalid
  semantic version

Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-09-18 12:49:06 -04:00
Matt Farina d4053b38cd Adding lint check for apiVersion which is a required field
Fixes #5727

Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-05-14 14:29:04 -04:00
Axel Köhler 893c3b61f6 Add chart name check to lint (#3773)
Signed-off-by: Axel Köhler <koehler.ax3l@gmail.com>
2019-01-10 09:05:44 -08:00
Matt Farina e328d00a2f Updating to the k8s label convention
Closes #4335

Signed-off-by: Matt Farina <matt@mattfarina.com>
2018-08-08 12:21:38 -04:00
Julian ca415ab8db feat(helm): support namespace and additional values in lint (#2972)
* Add "--namespace" to helm lint

Keep lint syntax as close as possible to "helm install" resp. "helm
upgrade", so that one only needs to change the command.

See #2036

* Align lintCmd struct

* Add "--set" and "--values" to helm lint

Keep lint syntax as close as possible to "helm install" resp. "helm
upgrade", so that one only needs to change the command.

Closes #2495,#2036

* Reuse strict parameter, when rendering during lint

We want to see the rendering fail, if we missed a value, so we reuse
"--strict".

See #2495,#2036

* Fix lint unit test

See #2495,#2036

* Update docs
2017-12-13 14:43:12 -08:00
Matt Butcher d863d9a886 fix(lint): add KubeVersion and TillerVersion to linter
Closes #2393
2017-05-16 16:33:43 -06:00
z00358552 b0d4cacd54 fix(helm) change name length limit to 63 for helm create
since kubernetes 1.4, the upper limit for resource name is 63 characters,
so it is better to change the template when running `helm create` accordingly.
2017-01-17 15:51:31 +08:00
Ferran Rodenas 088c2bd233 Linter validations for Chart icon property 2017-01-12 15:21:10 +01:00
John Hofman c38fb120bf fix(helm): add trimSuffix to helper functions 2016-12-05 10:01:25 +01:00
Miguel Martinez 7bb4893cad Support Linter for Values 2016-06-27 17:47:18 -07:00
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
2016-06-20 14:28:58 -07:00