Commit Graph

188 Commits (revert-toml-change)

Author SHA1 Message Date
Eng Zer Jun 2e3e22a003
test: use `T.TempDir` to create temporary test directory
4 years ago
Matt Farina 7838fb769d
Fix specifying of Kubernetes version from build scripts
4 years ago
Sverre Boschman 81a373ead5 allow ldflags to overwrite k8s version
4 years ago
Stuart Drennan 1931b0702d fix(helm): process dependencies import-values
4 years ago
Adam Reese 53263c6fb7
feat(linter): check for nested resource-policy annotations
4 years ago
Martin Hickey 699ea6dcef
Merge pull request #9066 from scaat/fix-specification
4 years ago
Mark Sagi-Kazar d5b4e1c5b8
chore: update testdata to use the new ingress template
4 years ago
Adam Reese 213a7df2dc
Merge pull request #9416 from croomes/resource-name-validation
5 years ago
Simon Croome 6c82c83b3a
Wrap validation error instead of recreating
5 years ago
Simon Croome 54de1c1f25
Move default to avoid nil check
5 years ago
Simon Croome ba325bdf7e
Add name validation rules for object kinds
5 years ago
Josh Soref 2bf8fdf45d
chore: Spelling (#9410)
5 years ago
Matthew Luckam 592c338242 updated unit tests to conform with helm best practices
5 years ago
Matthew Luckam f402994461 corrected order of helm lint coalescing of multiple values files
5 years ago
Joe Julian fdcd22ef58
Reduce linting severity for users of out-of-date kubernetes (#8608)
5 years ago
rimas f30badd570 Fix test
5 years ago
rimas ce1a46899f Fixes #9083
5 years ago
Scaat Feng 9020c95fb1 [FIX]comment should start with whitespace
5 years ago
Nandor Kracser dfb5a5e8cc
lint: lint all documents in a multi-doc yaml file
5 years ago
Christophe VILA 8a4c0bc7b1 added test for https://github.com/helm/helm/pull/8913 related to https://github.com/helm/helm/issues/8621
5 years ago
Christophe VILA f736af95eb do not check YAML if nothing was parsed
5 years ago
Matt Butcher fe2d7f7792
this rewrites a whole bunch of old repo URLs to the new repo URL (#8902)
5 years ago
Matt Butcher ed5fba5142
refactor the release name validation to be consistent across Helm
5 years ago
Matt Butcher 04fb35814f
Fixed a variable name collision caused by two PR merges (#8681)
5 years ago
Matt Butcher 70d03e5cef
Fix/8467 linter failing (#8496)
5 years ago
Matt Butcher 96d9ab9663
fix name length check on lint (#8543)
5 years ago
Matt Farina 11f658e223
Fixing linting of templates on Windows
5 years ago
Matt Butcher 2750e4d781
Lint dependencies (#7970)
5 years ago
Matthew Fisher d61aaf3fd7
Merge pull request #7235 from karuppiah7890/fix-lint
5 years ago
Matthew Fisher e7ab975112
Merge pull request #8142 from technosophos/feat/1990-match-labels-lint
5 years ago
Karuppiah Natarajan 47c38ec23d
Show errors when linting for Chart.yaml version and appVersion fields of type non-string
5 years ago
Matt Farina dbd001e532
Removing tiller language
5 years ago
Matt Butcher 118d46eb3e
feat: Detect missing selector during lint
5 years ago
Matt Butcher 59eed4e81f
feat: make the linter coalesce the passed-in values before running values tests (#7984)
5 years ago
Martin Hickey e4768e6460 Update lint deprecation list
5 years ago
Matt Butcher 08e546f169
fix: removed strict template errors in linter (#8017)
5 years ago
Matt Butcher bf9d629dc0
feat: implement deprecation warnings in helm lint (#7986)
5 years ago
Matt Butcher 6fc9353056
feat: lint the names of templated resources (#8011)
5 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
6 years ago
Thomas O'Donnell 213f714604 Stop Lint from breaking when using required
6 years ago
Adam Reese 590bf10ab5
fix(pkg/action): add namespace to release options
6 years ago
Matt Farina 50e06b1447
Adding apiVersion guidance to the linting
6 years ago
Matt Farina 069eec9e42
Updatin gthe apiVersion linting for Helm v3
6 years ago
Matt Farina 29842e040f
Adding lint check for apiVersion which is a required field
6 years ago
Adam Reese b7a14de590
Merge pull request #5601 from adamreese/v3/capabilities
6 years ago
Adam Reese 097834de0a
ref(pkg/chartutil): remove k8s version object dependency
6 years ago
Matt Farina 250b63eced
Updating the labels for consistency
6 years ago
Luis Davim 82ffe56ca6
Reduce template code duplication. Fixes #5372
6 years ago
Luis Davim 4425f86865
Add app.kubernetes.io/version label
6 years ago
Matt Farina af7eab0325
Updating to the k8s label convention
6 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
7 years ago
Adam Reese 726e3c41be
feat(*): print stacktrace on error with debug enabled
7 years ago
Adam Reese 75c4df0b56
ref(tests): use golden files for testing command output
7 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
8 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