Commit Graph

178 Commits (d601ce59a9fec0a52fcf3dfd18faebb43aaacb04)

Author SHA1 Message Date
Matt Farina 0c64ad1c97
fix Chart.yaml handling
10 months ago
Joe Julian 7f4eb407c6
add missing template directory to badcrdfile testdata
10 months ago
Joe Julian 08909e030b
Merge pull request #31019 from zachburg/templates_lint
10 months ago
Zach Burgess 35434947a3 Return a lint warning if `templates/` does not exist.
11 months ago
Zach Burgess b6e3301bef
Merge branch 'helm:main' into templates_lint
11 months ago
Zach Burgess fe11438715 Raise error instead of warning if `crds/` is not a valid directory
11 months ago
Zach Burgess eea2d4577b Raise an error if the `templates/` dir is not valid and return early.
11 months ago
Zach Burgess 3a318c2fa3 Update crds.go after https://github.com/helm/helm/pull/31029
11 months ago
Zach Burgess 81af3c9570
Merge branch 'helm:main' into crds_lint
11 months ago
Zach Burgess cc85352a0e Use `assert.Len` instead of `assert.Lenf`
11 months ago
Zach Burgess c59a097209 Remove duplicate test case from crds_test.go
11 months ago
Zach Burgess bf9084a16a Rename `validateCrdApiVersion` to `validateCrdAPIVersion`
11 months ago
Zach Burgess 357957b0d3 Use testify and add a CRD to the `goodone` test case.
11 months ago
George Jenkins 4c674728d2 Privatize 'k8sYamlStruct'
11 months ago
Zach Burgess b703d5b4bb Return early when linting if the `templates/` dir does not exist
11 months ago
Zach Burgess 562ff982cb Early return if the `/crds` directory does not exist and don't silently discard the error from `os.Stat`.
11 months ago
Zach Burgess d6ddd8e661 Document that attempting to parse YAML checks that the CRD is not a
11 months ago
Zach Burgess bc35ea5ad7 Fix comment in pkg/lint/rules/testdata/invalidcrdsdir/values.yaml
11 months ago
Zach Burgess 21b9aa3d94 Lint the `crds/` directory.
11 months ago
findnature ac8d2f9aed refactor: use slices.Contains to simplify code
1 year ago
George Jenkins ecf1730689
Merge pull request #13460 from justenstall/stdlib-errors-2
1 year ago
Matt Farina fcd37bcea7
Merge pull request #30783 from rpolishchuk/investigate-TestValidateChartIconPresence
1 year ago
Rostyslav Polishchuk 1c8d1e375f fix: chart icon presence test
1 year ago
Justen Stall 3877ec9049
fix golangci-lint issues
1 year ago
Justen Stall 065e2eb3eb
updates after merge conflict resolution
1 year ago
Justen Stall 280a9ddbdb
Merge branch 'main' into stdlib-errors-2
1 year ago
Edward Miller 629780a34a fix: reapply error message fix
1 year ago
Edward Miller 14a468f24d Add chartutil.StrictLoadChartfile for strict (WARNING-level) lint
1 year ago
Edward Miller 00f8561ad4 fix(pkg/lint): unmarshals Chart.yaml strictly
1 year ago
Robert Sirchia da096e1b7a
Merge pull request #30752 from benoittgt/bump-golangci-lint-action
1 year ago
Matt Farina 0dffc580b0
Simpligy the JSON Schema checking
1 year ago
Benoit Tigeot eb65ce280b
could apply De Morgan's law
1 year ago
George Jenkins be2b84685a cleanup: Remove Helm v2 template lint rules
1 year ago
Matt Farina 61d3eca55c
Move pkg/chart to pkg/chart/v2 to prepare for v3 charts
1 year ago
Matt Farina 5c0deec327
Moving chartutil to chart/util
1 year ago
George Jenkins 415c7e10fd
Merge pull request #13516 from TerryHowe/new-lint
1 year ago
George Jenkins bd897c96fb
Merge pull request #13601 from gjenkins8/cleanup_values_lint
1 year ago
George Jenkins 1c807df5ba cleanup: Remove superceeded 'lint/rules.Values' function
1 year ago
George Jenkins 3b9cce9669 cleanup: Remove 'ProcessDependenciesWithMerge'
1 year ago
Matt Farina 2236294119 Updating to helm.sh/helm/v4
1 year ago
Terry Howe 569f62e58b chore: fix problems with latest lint
1 year ago
Justen Stall 63cf42a843
fix: replace "github.com/pkg/errors" with stdlib "errors" package
2 years ago
Zach Burgess 0cc78c6ac3 Fix typo in pkg/lint/rules/chartfile_test.go
2 years ago
anessi acf7158565
feat(helm): add --skip-schema-validation flag to helm 'install', 'upgrade' and 'lint'
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