Commit Graph

212 Commits (533eddc57d4727f1422d6e8a3e5d8fa6fbf8697e)

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