Commit Graph

211 Commits (bdfa36da170a3e64ff887a17c350b25387e4f4d9)

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