Commit Graph

156 Commits (7a7782478b116f3da733c1c1b53e3f6fa9c1f6a6)

Author SHA1 Message Date
Matt Butcher 118d46eb3e
feat: Detect missing selector during lint
4 years ago
Matt Butcher 59eed4e81f
feat: make the linter coalesce the passed-in values before running values tests (#7984)
4 years ago
Martin Hickey e4768e6460 Update lint deprecation list
4 years ago
Matt Butcher 08e546f169
fix: removed strict template errors in linter (#8017)
4 years ago
Matt Butcher bf9d629dc0
feat: implement deprecation warnings in helm lint (#7986)
4 years ago
Matt Butcher 6fc9353056
feat: lint the names of templated resources (#8011)
4 years ago
Matt Butcher 549193dbcb
test: forward-port regression test from Helm 2 (#7927)
4 years ago
Martin Hickey 9a0e7d8a31 Improve error message to check in unit test
4 years ago
Martin Hickey ca931b472b
Merge pull request #7691 from longkb/add_ut_for_values
4 years ago
Kim Bao Long 9d20e44ad1 Add unit test for lint/values.go
4 years ago
Matt Butcher 16024dc19a
fix: add new static linter and fix issues it found (#7655)
5 years ago
Josh Soref 02ad2b1187 Spelling (#7258)
5 years ago
Scott Morgan 32ce016054 fix(lint): Remove requirement that directory name and chart name match
5 years ago
Scott Morgan eb833ccead remove unused variable
5 years ago
Scott Morgan 8a8463e08d fix(lint): Remove requirement that directory name and chart name match
5 years ago
Taylor Thomas caf629a3e9 feat(lint): Adds v3 chart checks to linter
5 years ago
Matthew Fisher c1e63a2a17
Merge pull request #6536 from karuppiah7890/fix-lint-for-no-package-found
5 years ago
Karuppiah Natarajan bb9426c4e2
fix(pkg/lint): fix lint silently ignoring non existing packaged charts
5 years ago
Matt Farina 9bc7934f35
Updating the module for v3 as the major version
5 years ago
Matt Farina 967f4fed42
Update dependencies
5 years ago
Vibhav Bobade 68a8f36a92 Fix Adding Errors from Linter.Messages to result.Errors
5 years ago
Martin Hickey 4d47052395 Update linting and checking for apiVersion v1/v2
5 years ago
Oleg Sidorov ec440d446d Replaced ghodss/yaml with sigs.k8s.io/yaml
5 years ago
Thomas O'Donnell 213f714604 Stop Lint from breaking when using required
5 years ago
Adam Reese 590bf10ab5
fix(pkg/action): add namespace to release options
5 years ago
Matt Farina 50e06b1447
Adding apiVersion guidance to the linting
5 years ago
Matt Farina 069eec9e42
Updatin gthe apiVersion linting for Helm v3
5 years ago
Matt Farina 29842e040f
Adding lint check for apiVersion which is a required field
5 years ago
Adam Reese b7a14de590
Merge pull request #5601 from adamreese/v3/capabilities
5 years ago
Adam Reese 097834de0a
ref(pkg/chartutil): remove k8s version object dependency
5 years ago
Matt Farina 250b63eced
Updating the labels for consistency
5 years ago
Luis Davim 82ffe56ca6
Reduce template code duplication. Fixes #5372
5 years ago
Luis Davim 4425f86865
Add app.kubernetes.io/version label
5 years ago
Matt Farina af7eab0325
Updating to the k8s label convention
5 years ago
Ian Howell ffff0e8c33 Feat/schema validation (#5350)
5 years ago
Adam Reese e458a67f0c
ref(pkg/chart): add validation method to chart
5 years ago
Adam Reese 14d8e97d2a
fix(*): resolve new govet issues
6 years ago
Adam Reese 895e9192d4
feat(*): use vanity import helm.sh/helm
6 years ago
Adam Reese 849f27d11f
ref(pkg/engine): make template specific functions private
6 years ago
Adam Reese f791421fab
feat(Makefile): add formatting target
6 years ago
Adam Reese d94707db86
ref(*): remove helmVersion chart constraint
6 years ago
Adam Reese 2b81eea1e2
ref(*): replace byte array with map for Release config
6 years ago
roc 79f88dfc5e ref(url) update helm's github url (#4962)
6 years ago
Adam Reese 516c53dae6
ref(chart): use map for chart.Values
6 years ago
Adam Reese 4f26b658d8
change copyright to "Copyright The Helm Authors"
6 years ago
Adam Reese f012940d9c
ref(*): refactor chart/chartutil
6 years ago
Adam Reese aa859e3f88
feat(*): remove Time, Namespace, and Revision from template functions
6 years ago
Adam Reese 726e3c41be
feat(*): print stacktrace on error with debug enabled
6 years ago
Adam Reese 75c4df0b56
ref(tests): use golden files for testing command output
6 years ago
Adam Reese 36e034551f
ref(*): rebuild build version object
6 years ago
Adam Reese 29e772f631
ref(*): replace TillerVersion with HelmVersion
6 years ago
Adam Reese 4c95185164
ref(*): replace chart.config with []byte
6 years ago
Adam Reese c5a76deba3
ref(*): use go conventions for naming types
6 years ago
Adam Reese 36536d77ba
ref(*): remove protobuf any type
6 years ago
Adam Reese 91a6ebfed5
ref(*): remove protobuf timestamps
6 years ago
Adam Reese 6345f04190
ref(hapi): convert protobuf to go types
6 years ago
Nic Doye 73017d7e88 Accept .yml files as well as .yaml for templates.
7 years ago
Julian ca415ab8db feat(helm): support namespace and additional values in lint (#2972)
7 years ago
Matt Farina 22e5381251
feat(chart): Adding maintainer url
7 years ago
Maxim Ivanov a6872c124a Avoid panics if test is failing
7 years ago
Kazuki Suda 3508cebbf6 Use the same defaults as done in helm lint for Capabilities
7 years ago
Matthew Fisher 8b512808df bump k8s version in helm lint to 1.7
7 years ago
Matt Butcher d863d9a886
fix(lint): add KubeVersion and TillerVersion to linter
7 years ago
z00358552 b0d4cacd54 fix(helm) change name length limit to 63 for `helm create`
8 years ago
Ferran Rodenas 088c2bd233 Linter validations for Chart icon property
8 years ago
Matt Butcher cb0a6c7e07
feat(tiller): add {{.Capabilities}} object
8 years ago
Michelle Noorali 06867b22d4 fix(linter): disable checking for empty values
8 years ago
John Hofman c38fb120bf fix(helm): add trimSuffix to helper functions
8 years ago
Adam Reese d59f66fc9e fix(*): fix new linter errors
8 years ago
Matt Butcher 58164e0009
fix(linter): remove spurious namespace error
8 years ago
Matt Butcher 36f7eb0b2a fix(linter): add engine.FuncMap so linter can use real function list
8 years ago
Matt Butcher 70b29a47d0 Merge pull request #1368 from prydonius/1367-fix-linter-tmpl-regex
8 years ago
Adnan Abdulhussein d81ac482ee fix(lint): use correct hash key for rendered tmpl
8 years ago
Adnan Abdulhussein aed4db02e8 fix(lint): validateNoMissingValues template regex
8 years ago
Adam Reese f71230ccd3 fix(*): resolve go linter issues
8 years ago
Matt Butcher fd0303c86e fix(*): remove references to gopkg.in/yaml.v2
8 years ago
Adam Reese d8616dd2b3 fix(lint): allow .txt files
8 years ago
Miguel Martinez cb12d9642b Disable validateQuotes linter rule
8 years ago
Adam Reese a14e76a65c chore(*): add canonical import path annotation
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
8 years ago
Miguel Ángel Martínez Triviño 81fd9edf4d Merge pull request #899 from migmartri/897-values-refactorign
8 years ago
Adnan Abdulhussein 09f56459c7 Improve tests to ensure highest severity is retained
8 years ago
Adnan Abdulhussein 77820c7482 fix(lint): Return non-zero exit status when lint errors present
8 years ago
Michelle Noorali 849afc29bc Merge pull request #908 from michelleN/feat/836-lint-archived-chart
8 years ago
Michelle Noorali a64303d0bf feat(lint): lint an archived chart
8 years ago
Miguel Martinez 12aa72f121 Replacing options interface argument
8 years ago
Matt Butcher 2c07a32a6b fix(*): fix various style issues from make test-style
8 years ago
Miguel Martinez 7bb4893cad Support Linter for Values
8 years ago
Miguel Martinez d1fe406478 Adding squote test case and generic message
8 years ago
Miguel Martinez 81ac98ad9a Adding support for associated templates
8 years ago
Miguel Martinez 03d27779d3 Templates Lint rules
8 years ago
Matt Butcher e757b24aed fix(*): add license header
8 years ago
Miguel Martinez c2459c06bf New Chart linter structure
8 years ago
Matt Butcher cded50e34f fix(chartutil): update lint to use chartutil
8 years ago
Matt Butcher 9ca8c27e16 fix(*): change TOML to YAML
8 years ago
Adam Reese 818c878700 chore(*): use k8s.io as the import path
8 years ago
vaikas-google 932663bd5f add test for malformed values.toml file
8 years ago