Commit Graph

211 Commits (bdfa36da170a3e64ff887a17c350b25387e4f4d9)

Author SHA1 Message Date
Justen Stall 63cf42a843
fix: replace "github.com/pkg/errors" with stdlib "errors" package
1 year ago
Zach Burgess 0cc78c6ac3 Fix typo in pkg/lint/rules/chartfile_test.go
1 year ago
Matt Farina d45439f2e9
Merge pull request #11923 from Bhargav-InfraCloud/helm-create-deprication-tests
1 year ago
anessi acf7158565
feat(helm): add --skip-schema-validation flag to helm 'install', 'upgrade' and 'lint'
2 years ago
Bhargav Ravuri 9c0b4c8121
test(create): Test to check deprecated resource templates
2 years ago
Robert Sirchia d58d7b3762 Fixing all the linting errors
2 years ago
Matt Farina 8e6a5149d2
validation fix
2 years ago
Antoine Deschênes 869c1d2560 lint: Add --kube-version flag to set capabilities and deprecation rules
2 years ago
Joe Julian 762a1c7adc
Merge pull request #12688 from mattfarina/bump-go-1.21
2 years ago
Matt Farina 83a76cea6a
Merge pull request #9176 from dastrobu/#9169/lint-dependency-shadowing
2 years ago
Matt Farina 847369c184
Update to Go 1.21 for builds
2 years ago
Matt Farina 5a1475ee36
Merge pull request #11294 from Juneezee/test/t.TempDir
2 years ago
Joe Julian 126333c525
Merge remote-tracking branch 'upstream/main' into #9169/lint-dependency-shadowing
2 years ago
Joe Julian b12139a6ec
Merge pull request #11586 from jmhbnz/main
2 years ago
Eng Zer Jun 2ceebffc77
test: replace `ensure.TempDir` with `t.TempDir`
2 years ago
James Blair 9dab6e9770
Remove warning for template directory not found.
3 years ago
Matt Farina 0a5148faff
Fix multiple bugs in values handling
3 years ago
Daniel Strobusch 6a4035aea2 lint and validate dependency metadata to reference dependencies with a unique key (name or alias)
3 years ago
wujunwei cd2609d08e add some test case
3 years ago
wujunwei 8e1c3d0d39 fix comment grammar error.
3 years ago
wujunwei 316d3fb56a bugfix:(#11391) helm lint infinite loop
3 years ago
Matt Farina 4e7e939f19
Updating the Go version in go.mod
3 years ago
Matt Farina 50c22ed7f9
Bump the Go version
3 years ago
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
5 years ago
Martin Hickey 699ea6dcef
Merge pull request #9066 from scaat/fix-specification
5 years ago
Mark Sagi-Kazar d5b4e1c5b8
chore: update testdata to use the new ingress template
5 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)
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