Commit Graph

317 Commits (main)

Author SHA1 Message Date
Evans Mungai b8937ad192
Fix import
7 months ago
Evans Mungai a333bbaf27
Update pkg/chart/common/util/coalesce_test.go
7 months ago
Mads Jensen 2d6d9c09c4 Replace reflect.Ptr with reflect.Pointer
7 months ago
Branch Vincent c6d9a5bdc2 build: set kube version via `debug.BuildInfo`
8 months ago
Mads Jensen a490bb3c20 Use errors.Is to check for io.EOF and gzip.ErrHeader
8 months ago
Robert Sirchia 4cf7d8d025
Merge pull request #31641 from wangjingcun/main
8 months ago
Evans Mungai 3416dd5f21
Fix lint warning
8 months ago
Evans Mungai 679f051980
Preserve nil values in chart already
8 months ago
Evans Mungai 292fe70219
fix(values): preserve nil values when chart default is empty map
8 months ago
Terry Howe d28853e206
Merge pull request #31624 from atombrella/feature/sloglint
8 months ago
wangjingcun 858cf31583 chore: fix some comments to improve readability
8 months ago
Mads Jensen a18e59e465 Enable the sloglint linter
8 months ago
George Jenkins 3165e5463a
Merge pull request #31528 from benoittgt/31423-git-version
8 months ago
Matt Farina ff35414bed
Merge pull request #31546 from benoittgt/31544-nil-pointer
8 months ago
Mads Jensen 6cceead399 Use modernize to use newer Golang features.
9 months ago
Benoit Tigeot 81d244ca21
fix: prevent segmentation violation on empty yaml in multidoc
9 months ago
Matt Farina df6aafeeee
Merge pull request #31462 from mattfarina/load-archive
9 months ago
Matt Farina 63858b383f
Merge pull request #31535 from mattfarina/bump-4.1
9 months ago
Matt Farina 63e060fb05
bump version to 4.1
9 months ago
shuv0id 2dc5864f44 fix: add missing context to debug logs
9 months ago
Benoit Tigeot ce273eea48
fix: preserve vendor suffixes in KubeVersion.GitVersion
9 months ago
Scott Rigby b740071279
Merge pull request #31342 from TerryHowe/chore-remove-mitchellh-dependency-3
9 months ago
Matt Farina 0f5eda74c1
Adding a LoadArchive to common loader
9 months ago
Benoit Tigeot 97b7a1c9ae
Merge branch 'main' into fix-31170-URN
10 months ago
Matt Farina 15300549f0
When time not available, using time.Now
10 months ago
Matt Farina ca8eae9361
Reproducible chart archive builds
10 months ago
Matt Farina 1da2b0a6d4
Merge pull request #31204 from benoittgt/fix-31202
10 months ago
Matt Farina 37de51428c
Merge pull request #31376 from benoittgt/accept-yaml-yml
10 months ago
Benoit Tigeot 06188f9dfe
Add test for isYamlFileExtension functions
10 months ago
Matt Farina 78cd44bd75
Merge pull request #30712 from gjenkins8/gjenkins/cleanup_lint_template
10 months ago
Matt Farina 94bfe9ba12 Move action get metadata to chart interfaces
10 months ago
Benoit Tigeot 4a944230ea
Do not ignore *.yml file on linting while accepting *.yaml
10 months ago
Terry Howe ee322a9671
fix: flakey lint test on shuffle
10 months ago
Terry Howe bee9c1a108
chore: replace github.com/mitchellh/copystructure
11 months ago
George Jenkins efcb5735e5 cleanup: Remove extra lint/rules.Template functions
11 months ago
Matt Farina 8dc7c57f50
Update the action interfaces for chart apiversions
11 months ago
Benoit Tigeot 072e2a689a
Extend --skip-schema-validation for lint command
11 months ago
Benoit Tigeot 939fff9cb9
Avoid "panic: interface conversion: interface {} is nil"
11 months ago
Kamil Swiechowski a645dfb7f8 fix:semverv2 lint test error message
11 months ago
Benoit Tigeot 8025a397e6
Ignore duplicated URN in logs
11 months ago
Benoit Tigeot 03bb62f63d
jsonschema: warn and ignore unresolved URN $ref to match v3.18.4
11 months ago
Kamil Swiechowski 38d1a7376f fix: throw warning when chart version is not semverv2
11 months ago
Matt Farina 9dcc49cbd5 Move lint pkg to be part of each chart version
11 months ago
Robert Sirchia 30404b4173
Merge pull request #31138 from islewis/release-3.18
12 months ago
Isaiah Lewis 62e0c78ef8
fix(helm-lint): fmt
12 months ago
Isaiah Lewis fb12b44493
fix(helm-lint): Add TLSClientConfig
12 months ago
Isaiah Lewis fa73b6743b
fix(helm-lint): Add HTTP/HTTPS URL support for json schema references
1 year ago
joemicky fab70472af refactor: replace []byte(fmt.Sprintf) with fmt.Appendf
1 year ago
Joe Julian 6ecf033700
Merge pull request #13111 from rawtaz/style-cosmetics
1 year ago
Joe Julian 3fe1cb6f02
Merge remote-tracking branch 'upstream/main' into style-cosmetics
1 year ago
Matt Farina 0c64ad1c97
fix Chart.yaml handling
1 year ago
Borys Hulii 9f6beaad48
fix: k8s version parsing to match original
1 year ago
yumeiyin 8c22fbfe4a refactor: replace Split in loops with more efficient SplitSeq
1 year ago
curlwget bfc1af68fb chore: fix function in comment
1 year ago
acceptacross 9623fb80f1 chore: fix some function names in comment
1 year ago
Benoit Tigeot b2fd91b8d0
Adapt error of invalid json schema with the new expected output
1 year ago
Matt Farina cf7613ba6b
Reverting fix "renders int as float"
1 year ago
Matthieu MOREL 157f0ba10a chore: enable thelper
1 year ago
yetyear 03448d1d79 refactor: use maps.Copy for cleaner map handling
1 year ago
findnature ac8d2f9aed refactor: use slices.Contains to simplify code
1 year ago
Justen Stall 4905a61026
Merge branch 'main' into stdlib-errors-2
1 year ago
Robert Sirchia d9bc0a948c
Merge pull request #30777 from ryanhockstad/merge-fix
1 year ago
Daniel Strobusch b183eccfc4
copy dependency metadata on aliasing to avoid sharing imported values
1 year ago
Daniel Strobusch df7befd208
copy dependencies on aliasing to avoid sharing chart references on multiply aliased dependencies
1 year ago
Justen Stall 3877ec9049
fix golangci-lint issues
1 year ago
Justen Stall 280a9ddbdb
Merge branch 'main' into stdlib-errors-2
1 year ago
Ryan Hockstad c1175a4106 fix null merge
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
Matt Farina 01590a59b2
Merge pull request #30760 from robertsirc/add-debuging-to-jsonschema
1 year ago
Robert Sirchia da096e1b7a
Merge pull request #30752 from benoittgt/bump-golangci-lint-action
1 year ago
Robert Sirchia ef0361de21
fixing as per review
1 year ago
Robert Sirchia 9b9ff12c6d
adding slog debug to a few points
1 year ago
Matt Farina 0dffc580b0
Simpligy the JSON Schema checking
1 year ago
Benoit Tigeot a9b7732367
could remove embedded field X from selector
1 year ago
Kurnia D Win 6c54351c01 Merge remote-tracking branch 'upstream/main' into jsonschema
1 year ago
Matt Farina 7a1eb77e77
Merge pull request #30708 from benoittgt/migrate-kube-pkg-to-slog
1 year ago
Matt Farina 0740dfc7a9
Unarchiving fix
1 year ago
Benoit Tigeot 0c85456788
Leverage slog.Any for errors
1 year ago
Matt Farina ab9f0c80b5
Merge pull request #30603 from robertsirc/converting-to-slog
1 year ago
Robert Sirchia c5991028e0
fixing matts changes
1 year ago
Henrik Gerdes 597c35852a
fix: align values comments/docs to scaffold standard
1 year ago
Henrik Gerdes ca367d970c
docs: more user-friendly info for httpRoute scaffold
1 year ago
Henrik Gerdes 1aac5b0b70
fix: use common chart-example.local hostname for http-route default
1 year ago
Henrik Gerdes 5d0c6e9ae4
fix: remove v1alpha2 gateway api support
1 year ago
Henrik Gerdes d22939b439
fix: correct expected number of template files in unit-test
1 year ago
Henrik Gerdes 3fc5d689e6
docs: add notes in chart templates for accessing httproute
1 year ago
Henrik Gerdes 90daeadeb5
feat: add httproute from gateway-api to create chart template
1 year ago
Robert Sirchia 3a19576377
making changes as requested by matt
1 year ago
Robert Sirchia 2192c4e0d1
changing errors back to warns
1 year ago
Robert Sirchia 4422000330
fixing case issues with the logging of my errors
1 year ago
Robert Sirchia 848c134e0c
fixing error messages
1 year ago
Robert Sirchia c2e6ed8ae5
fixing build error
1 year ago
Robert Sirchia 8887d01791
fixing issues with my PR
1 year ago
Robert Sirchia c36bc25fb1
fixing missing attributes
1 year ago
Robert Sirchia 1ad79a2bb7
converting inline log to slog
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
lubingtan 91cd72d0e4 fix: improve LoadValues function documentation
1 year ago
lubingtan fb7221bc9a fix: add doc for func MergeMaps
1 year ago
lubingtan 3d84e00ce7 fix: use Reader interface as the input of LoadValues and enhance UT of LoadValues
1 year ago
lubingtan 92087f6e33 feat: support multi-document values files for default chart values
1 year ago
Althaf M 88f7dc5329 merge: fixing merge conflicts
2 years ago
Althaf M 10d267ed8b fix: (toToml) renders int as float
2 years ago
Matt Farina 2236294119 Updating to helm.sh/helm/v4
2 years ago
George Jenkins c724175b03
Merge pull request #13343 from niladrih/more-metadata
2 years ago
Justen Stall 63cf42a843
fix: replace "github.com/pkg/errors" with stdlib "errors" package
2 years ago
Taylor Jasko 6f2f7d4781 Updating subchart load error to be more descriptive
2 years ago
Matt Farina 2da76a06e7
Merge pull request #13345 from AdamKorcz/fuzzzzz2
2 years ago
Niladri Halder d351b091ca
Add annotations and dependencies to get metadata output
2 years ago
Adam Korczynski e432f39ea7 add chart fuzz tests
2 years ago
Nathan Baulch ef85fa7f2d
Grammar fixes
2 years ago
Matt Farina c16b1c9f2b
Merge pull request #12867 from aauren/add_requirements.lock_warning
2 years ago
Aaron U'Ren 29ab5c4b02 feat(load.go): add warning on requirements.lock
2 years ago
Robert Sirchia d58d7b3762 Fixing all the linting errors
2 years ago
Matt Farina 8e6a5149d2
validation fix
3 years ago
Matt Farina 83a76cea6a
Merge pull request #9176 from dastrobu/#9169/lint-dependency-shadowing
3 years ago
Ismail Alidzhikov 5586760133 Make the `ignore` pkg public again
3 years ago
Joe Julian 126333c525
Merge remote-tracking branch 'upstream/main' into #9169/lint-dependency-shadowing
3 years ago
MR ZHAO 5c7a63138b
Fix helm may identify achieve of the application/x-gzip as application/vnd.ms-fontobject
3 years ago
Daniel Strobusch 6a4035aea2 lint and validate dependency metadata to reference dependencies with a unique key (name or alias)
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
Daniel Strobusch 6a5f240e9a
change linting error messages for null values in arrays
4 years ago
wujunwei 4fcec24d15 update: Optimize the error message
4 years ago
wujunwei a7a1117327 add nil judge for dependency , maintainers validate and some testcase.
4 years ago
Eng Zer Jun 2e3e22a003
test: use `T.TempDir` to create temporary test directory
5 years ago
Adam Reese 657ce552cb
fix(*): Validate metadata semver and printable characters
6 years ago
Matt Farina 1cd749359c
Merge pull request #9009 from mattfarina/tests-for-8948
6 years ago
Matt Farina a374fffdd9
Merge pull request #8948 from gy-lehel/#7696
6 years ago
Matt Farina 82002c3cfb Added tests for PR 8948
6 years ago
Matt Farina c0d3877231
Merge pull request #8915 from zheng1/master
6 years ago
Zhengyi Lai 9cc00eea24
Add test case for LoadFiles
6 years ago
Lehel Gyuro 27807e1bb5 [#7696] Avoid crash in chart loader on unexpected file sequence
6 years ago
Lehel Gyuro 8abb44f218 [#7696] Avoid crash in chart loader on unexpected file sequence
6 years ago
Matt Butcher 5f3e560029
improved user-facing error messages to explain the underlying problem (#8731)
6 years ago
Matt Butcher 59d5b94d35
Merge pull request from GHSA-9vp5-m38w-j776
6 years ago
Zhou Hao 0669f40e81 cleanup tempfiles for load_test
6 years ago
Zhengyi Lai ebf6d7e5b2
Bugfix: panic when chart contains requirements.lock
6 years ago
Matt Farina 512544b9ab
Fixing PAX Header handling (#8086)
6 years ago
Matt Farina 2139e82c68
Merge pull request #7972 from IppX/bug/6081-bom-in-resource-file
6 years ago
Hu Shuai 6bc4a948be Add unit test for pkg/chart/chart.go
6 years ago
Thomas FREYSS c422e51ca1 test: add test for bom test data integrity
6 years ago
Thomas FREYSS 27ebfa8c56 fix(*): remove bom in utf files when loading chart files (#6081)
6 years ago
Matthew Fisher 0e10757a3c
Merge pull request #7854 from q384566678/add-metadata-test
6 years ago
Zhou Hao 20c7909756 add unit test for metadata Validate
6 years ago
Zhou Hao b439d34a43 add unit test for ChartFullPath
6 years ago
Zhou Hao a3d3fa3964 add unit test for ChartPath
6 years ago
Zhou Hao 8c55de3818 add unit test for IsRoot
6 years ago
Hu Shuai 9ab40a26af Add unit test for pkg/chart/chart.go
6 years ago