Commit graph

8728 commits

Author SHA1 Message Date
Matt Farina
533eddc57d Add content cache to helm env
Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-08-24 17:57:34 -04:00
Matt Farina
0f1b410f14
Merge pull request #31165 from mattfarina/content-cache
Initial addition of content based cache
2025-08-22 15:04:25 -04:00
George Jenkins
a0d6b0d383
Merge pull request #13629 from gjenkins8/rename_atomic_rollbackonfailure
Rename 'atomic' -> 'rollback-on-failure'
2025-08-22 11:20:18 -07:00
Scott Rigby
29d12ba09e
Merge pull request #31156 from estroz/fix-resolve-client
fix: set repo authorizer in registry.Client.Resolve()
2025-08-21 23:20:20 -04:00
Robert Sirchia
fc5bd02a1b
Merge pull request #31175 from cuiweixie/atomic.Uint64
pkg/register: refactor to use atomic.Uint64
2025-08-21 14:43:12 -04:00
Matt Farina
fea6d8eb04
Updating to tested content cache
A few things are added here:
1. The cache is made to be more generic as a content based cache.
   It could be used for other things such as plugins
2. Flags were added to specify the content cache locaiton rather
   than rely on the repository cache. Keeping the 2 the same
   hid bugs and errors.
3. Tests were added and updated to ensure the cache is used and
   tested

Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-08-21 14:33:51 -04:00
George Jenkins
4596c0e062
Merge pull request #31142 from helm/gjenkins/main/mv_plugin_internal
[HIP-0026] Move pkg/plugin -> internal/plugin
2025-08-21 09:06:26 -07:00
cuiweixie
04cb1bad67 pkg/register: refactor to use atomic.Uint64
Signed-off-by: cuiweixie <cuiweixie@gmail.com>
2025-08-21 20:41:35 +08:00
Robert Sirchia
30404b4173
Merge pull request #31138 from islewis/release-3.18
fix(helm-lint): Add HTTP/HTTPS URL support for json schema references
2025-08-19 15:47:25 -04:00
Isaiah Lewis
62e0c78ef8
fix(helm-lint): fmt
Signed-off-by: Isaiah Lewis <isaiah@roof12.com>
2025-08-19 12:35:12 -07:00
Matt Farina
6ac2c34689
Initial addition of content based cache
The previous cache was based on chart name and version. If 2 charts
with different content had the same name and version they would collide.
Helm did not trust the cache because of this and always downloaded
content. It was a short lived cache.

This commit introduces a content based cache which is based on the
content rather than file name. Charts with the same name but different
content are no longer an issue.

While the system assumes a file based interface, the cache system
is pluggable. In the future, it should return bytes for the content
instead of paths to it. That would requie a larger change for Helm 5
or later.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-08-19 14:00:36 -04:00
Matt Farina
3726d01c5c
Merge pull request #31132 from joemicky/main
refactor: replace []byte(fmt.Sprintf) with fmt.Appendf
2025-08-19 10:51:00 -04:00
Matt Farina
6d9883d3d4
Merge pull request #31135 from helm/dependabot/go_modules/main/k8s-io-09e63e9300
chore(deps): bump the k8s-io group with 7 updates
2025-08-19 09:57:58 -04:00
dependabot[bot]
c9e6e8a040
chore(deps): bump the k8s-io group with 7 updates
Bumps the k8s-io group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [k8s.io/api](https://github.com/kubernetes/api) | `0.33.3` | `0.33.4` |
| [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) | `0.33.3` | `0.33.4` |
| [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) | `0.33.3` | `0.33.4` |
| [k8s.io/apiserver](https://github.com/kubernetes/apiserver) | `0.33.3` | `0.33.4` |
| [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime) | `0.33.3` | `0.33.4` |
| [k8s.io/client-go](https://github.com/kubernetes/client-go) | `0.33.3` | `0.33.4` |
| [k8s.io/kubectl](https://github.com/kubernetes/kubectl) | `0.33.3` | `0.33.4` |


Updates `k8s.io/api` from 0.33.3 to 0.33.4
- [Commits](https://github.com/kubernetes/api/compare/v0.33.3...v0.33.4)

Updates `k8s.io/apiextensions-apiserver` from 0.33.3 to 0.33.4
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.33.3...v0.33.4)

Updates `k8s.io/apimachinery` from 0.33.3 to 0.33.4
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.33.3...v0.33.4)

Updates `k8s.io/apiserver` from 0.33.3 to 0.33.4
- [Commits](https://github.com/kubernetes/apiserver/compare/v0.33.3...v0.33.4)

Updates `k8s.io/cli-runtime` from 0.33.3 to 0.33.4
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.33.3...v0.33.4)

Updates `k8s.io/client-go` from 0.33.3 to 0.33.4
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.33.3...v0.33.4)

Updates `k8s.io/kubectl` from 0.33.3 to 0.33.4
- [Commits](https://github.com/kubernetes/kubectl/compare/v0.33.3...v0.33.4)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-version: 0.33.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/apiextensions-apiserver
  dependency-version: 0.33.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/apimachinery
  dependency-version: 0.33.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/apiserver
  dependency-version: 0.33.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/cli-runtime
  dependency-version: 0.33.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/client-go
  dependency-version: 0.33.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/kubectl
  dependency-version: 0.33.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 22:39:10 +00:00
Eric Stroczynski
e1e23d2af1 fix: set repo authorizer in registry.Client.Resolve()
Signed-off-by: Eric Stroczynski <estroczynski@nvidia.com>
2025-08-18 12:35:30 -07:00
Robert Sirchia
e4ca1fcee7
Merge pull request #31152 from TerryHowe/shuffling
feature: enable shuffle in Makefile for unit tests
2025-08-18 15:30:57 -04:00
Isaiah Lewis
fb12b44493
fix(helm-lint): Add TLSClientConfig
Signed-off-by: Isaiah Lewis <isaiah@roof12.com>
2025-08-18 11:35:59 -07:00
Matt Farina
de9ea4d1e3
Merge pull request #30992 from TerryHowe/force-oath-v4
fix: force bearer oauth for if registry requests bearer auth
2025-08-18 13:42:02 -04:00
Matt Farina
4c615a505d
Merge pull request #31115 from banjoh/em/fix-username-password
fix: use username and password if provided
2025-08-18 13:29:51 -04:00
Terry Howe
4bc93393bc
feature: enable shuffle for unit tests
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-08-18 10:40:23 -06:00
Robert Sirchia
892a5cbfd0
Merge pull request #31150 from TerryHowe/feature-add-stale-pr-workflow
Feature add stale pr workflow
2025-08-18 12:08:04 -04:00
Terry Howe
77bbbbd84f
feature: add stale pr workflow
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-08-18 09:48:29 -06:00
Robert Sirchia
f7b14f9ee2
Merge pull request #31149 from TerryHowe/fix-stale-issue-workflow
fix: stale issue workflow
2025-08-18 11:22:41 -04:00
Terry Howe
d918f919e0
fix: stale issue workflow
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-08-18 07:27:10 -06:00
Evans Mungai
4aa2240750
Run go mod tidy
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2025-08-18 09:18:02 +01:00
Evans Mungai
0943d032a7
Merge branch 'main' into em/fix-username-password
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2025-08-18 02:16:32 -06:00
George Jenkins
a1c84f9a4c Move pkg/plugin -> internal/plugin
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-08-16 22:58:54 -07:00
Isaiah Lewis
fa73b6743b
fix(helm-lint): Add HTTP/HTTPS URL support for json schema references
Signed-off-by: Isaiah Lewis <isaiah@roof12.com>
2025-08-15 07:31:30 -07:00
George Jenkins
36e52c828d
Merge pull request #31030 from gjenkins8/gjenkins/kubeclient_ssa
HIP-0023: Kube client support server-side apply
2025-08-14 13:55:11 -07:00
Robert Sirchia
47529bbffb
Merge pull request #31133 from joemicky/use_CutPrefix
refactor: replace HasPrefix+TrimPrefix with CutPrefix
2025-08-14 10:38:31 -04:00
Robert Sirchia
2da9469763
Merge pull request #31134 from joemicky/image_var_define_again
refactor: omit unnecessary reassignment
2025-08-14 10:35:58 -04:00
joemicky
762ef3ee80 refactor: omit unnecessary reassignment
Signed-off-by: joemicky <joemickychang@outlook.com>
2025-08-14 19:30:33 +08:00
joemicky
a3d2da4d2e refactor: replace HasPrefix+TrimPrefix with CutPrefix
Signed-off-by: joemicky <joemickychang@outlook.com>
2025-08-14 19:27:39 +08:00
joemicky
fab70472af refactor: replace []byte(fmt.Sprintf) with fmt.Appendf
Signed-off-by: joemicky <joemickychang@outlook.com>
2025-08-14 19:21:52 +08:00
Joe Julian
e1b9173812
Merge pull request #12624 from papdaniel/main
show crds command output separated by document separator
2025-08-13 14:51:34 -07:00
George Jenkins
36532f36b1
Merge pull request #11700 from suzaku/use-sort-slice
Refactor, use sort.Slice to reduce boilerplate code
2025-08-13 14:16:24 -07:00
Joe Julian
4b493f036c
Merge remote-tracking branch 'upstream/main' into papdaniel/main 2025-08-13 13:55:42 -07:00
Joe Julian
6ecf033700
Merge pull request #13111 from rawtaz/style-cosmetics
style(pkg/chartutil): add missing dots and indentation to defaultValues
2025-08-13 13:44:57 -07:00
Joe Julian
3fe1cb6f02
Merge remote-tracking branch 'upstream/main' into style-cosmetics 2025-08-13 13:22:35 -07:00
Joe Julian
92bc614fbf
Merge remote-tracking branch 'upstream/main' into use-sort-slice 2025-08-13 13:22:16 -07:00
Scott Rigby
943ca1d0ca
Merge pull request #30891 from gjenkins8/gjenkins/port_plugin_warn
fix: Port pluginCommand & command warning
2025-08-13 15:33:01 -04:00
Robert Sirchia
d7d072b7f6
Merge commit from fork
Advisory fix 1
2025-08-13 15:10:00 -04:00
George Jenkins
ba53075a9d
Merge pull request #12968 from sjeandeaux/helm-uninstall-dry-run
helm uninstall dry run support `--ignore-not-found`
2025-08-13 10:44:02 -07:00
George Jenkins
b2dc411f9d code review (error checks, collapse forceConflicts, UpdateApplyFunc)
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-08-12 11:04:20 -07:00
George Jenkins
99dc23f00b switch target<->original
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-08-12 10:50:48 -07:00
George Jenkins
741facca43 Update pkg/kube/client_test.go
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-08-12 10:50:48 -07:00
George Jenkins
45141451b4 Kube client support server-side apply
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-08-12 10:50:46 -07:00
Matt Farina
8affd6178f
Merge pull request #31126 from paologallinaharbur/fix/leverageSameTLSconfig
fix(transport): leverage same tls config
2025-08-12 10:24:40 -04:00
Matt Farina
e41eec1679
Merge pull request #31130 from helm/dependabot/github_actions/main/actions/checkout-5.0.0
chore(deps): bump actions/checkout from 4.2.2 to 5.0.0
2025-08-12 10:13:11 -04:00
dependabot[bot]
78436b2d0e
chore(deps): bump actions/checkout from 4.2.2 to 5.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](11bd71901b...08c6903cd8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 05:19:39 +00:00