Evans Mungai
c264166ec6
Update pkg/chart/common/util/coalesce_test.go
...
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2 months ago
Evans Mungai
d409df87ff
Fix lint warning
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2 months ago
Evans Mungai
6fdd1017ce
Preserve nil values in chart already
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2 months ago
Evans Mungai
b13743c8d4
fix(values): preserve nil values when chart default is empty map
...
Only delete nil user values when overriding a non-nil chart default.
When chart has empty map or no default for a key, preserve user's nil.
| Scenario | Result |
|----------|--------|
| User sets `baz: ~`, chart has `baz: "value"` | Key deleted |
| User sets `baz: ~`, chart has empty map `{}` | Nil preserved |
| User sets `baz: ~`, chart has `baz: ~` | Nil preserved |
Fixes #31643
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2 months ago
Scott Rigby
f6e17f6735
bump version to v3.20
...
Signed-off-by: Scott Rigby <scott@r6by.com>
2 months ago
George Jenkins
0bfd2cbe75
Merge pull request #31648 from hiddeco/backport-12564-to-dev-v3
...
[v3 backport] fix(uninstall): supersede deployed releases
3 months ago
George Jenkins
526076ee3b
[dev-v3] Replace deprecated `NewSimpleClientset`
...
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
3 months ago
George Jenkins
0ae8e4f2cb
[dev-v3] Bump Go v1.25, `golangci-lint` v2
...
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
3 months ago
Hidde Beydals
0cd9a60723
fix(rollback): `errors.Is` instead of string comp
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
(cherry picked from commit d158708fbf )
3 months ago
Hidde Beydals
8bb0b37226
fix(uninstall): supersede deployed releases
...
This ensures that when `helm uninstall` is run with `--keep-history`
any release in a `deployed` state other than the last release (e.g.
due to a failed upgrade) is being marked as `superseded`.
As a by-effect, running `helm upgrade` on a release which has been
uninstalled after an upgrade failure now no longer works. But instead
fails with a `"<name>" has no deployed releases` error. Which is the
(likely) intended behavior, and prevents other side-effects like
rolling back to a release version which happened before the uninstall
if `--atomic` (or `--rollback-on-failure`) was provided.
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
(cherry picked from commit 2f1ecc7100 )
3 months ago
Terry Howe
bfc4534772
Merge pull request #31119 from bpfoster/fix-subchart-value-removal
...
fix: null merge
3 months ago
George Jenkins
795460535b
Merge pull request #31193 from benoittgt/31156-backport
...
[backport] fix: set repo authorizer in registry.Client.Resolve()
4 months ago
Scott Rigby
3cae97209a
Merge pull request #31443 from benoittgt/fix-31170-URN-backport
...
[backport] jsonschema: warn and ignore unresolved URN $ref to match v3.18.4
5 months ago
Scott Rigby
8b53467dd9
Merge pull request #31416 from MarcAntoineRaymond/dev-v3
...
[v3 backport] Fix `helm pull` untar dir check with repo urls
5 months ago
Scott Rigby
6a67b553b4
Revert "pkg/registry: Login option for passing TLS config in memory"
...
Signed-off-by: Scott Rigby <scott@r6by.com>
5 months ago
Benoit Tigeot
3f0da15437
jsonschema: warn and ignore unresolved URN $ref to match v3.18.4
...
- v3.18.5 switched jsonschema and began resolving external $ref
at compile-time, exposing missing urn handling
(“no URLLoader registered for urn:…”).
- Add urn scheme loader and pluggable URNResolver. If unresolved, log
a warning and return a permissive true schema (back-compat).
- Avoid having a duplicated warn logs when we Load the schema twice.
Note: external URNs need AddResource/Resolver (the CLI uses --map for
this).
Close : #31170
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
5 months ago
Luna Stadler
e5e101cced
Fix `helm pull` untar dir check with repo urls
...
The existing check worked for `helm pull downloaded-repo/chart-name`,
but often does not work when using `--repo-url`, depending on the urls
used by the charts.
Signed-off-by: Luna Stadler <luc@spreadshirt.net>
5 months ago
Matt Farina
73c269f31d
Merge pull request #31257 from benoittgt/fix-31202-panic-backport
...
[backport] Avoid panic in helm.sh/helm/v3/pkg/chartutil.ValidateAgainstSchema
5 months ago
George Jenkins
68e20cac13
Merge pull request #31284 from matheuscscp/backport-31076-dev-v3
...
pkg/registry: Login option for passing TLS config in memory
6 months ago
George Jenkins
0111c25229
Merge pull request #31048 from unguiculus/issue-12952
...
fix(v3 backport): Add timeout flag to repo add and update flags
6 months ago
Matheus Pimenta
b80959f24f
pkg/registry: Login option for passing TLS config in memory
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
7 months ago
Benoit Tigeot
2fe49f99ce
Avoid "panic: interface conversion: interface {} is nil"
...
Closes : #31202
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
7 months ago
Scott Rigby
c3610abd2d
bump version to v3.19.0
...
Signed-off-by: Scott Rigby <scott@r6by.com>
(cherry picked from commit 3d8990f083 )
7 months ago
Evans Mungai
9a54bf1df6
fix: use username and password if provided
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
7 months ago
Eric Stroczynski
ffbc53723a
fix: set repo authorizer in registry.Client.Resolve()
...
Signed-off-by: Eric Stroczynski <estroczynski@nvidia.com>
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
7 months ago
Isaiah Lewis
b278020311
fix(helm-lint): fmt
...
Signed-off-by: Isaiah Lewis <isaiah@roof12.com>
(cherry picked from commit 62e0c78ef8 )
7 months ago
Isaiah Lewis
d33ac5e44b
fix(helm-lint): Add TLSClientConfig
...
Signed-off-by: Isaiah Lewis <isaiah@roof12.com>
(cherry picked from commit fb12b44493 )
7 months ago
Isaiah Lewis
854370978e
fix(helm-lint): Add HTTP/HTTPS URL support for json schema references
...
Signed-off-by: Isaiah Lewis <isaiah@roof12.com>
(cherry picked from commit fa73b6743b )
7 months ago
Matt Farina
093c885548
Merge pull request #31087 from TerryHowe/backport-fix-httpgetter
...
Backport of fix httpgetter
7 months ago
Robert Sirchia
46806c8217
Merge branch 'dev-v3' into advisory-fix-1a
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
8 months ago
Robert Sirchia
7977a48fb4
Merge commit from fork
...
fix for dev-v3
8 months ago
Ben Foster
f0b699eabb
fix null merge
...
(cherry-picked from commit c1175a4106 )
Signed-off-by: Ben Foster <bpfoster@gmail.com>
8 months ago
Matt Farina
f13afaacd6
fix Chart.yaml handling
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
8 months ago
Matt Farina
039b0b18d3
Handle messy index files
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 69efc0d4fb )
8 months ago
Robert Sirchia
6d9509aadc
json schema fix
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
8 months ago
Borys Hulii
807225ed62
fix: k8s version parsing to match original
...
Signed-off-by: Borys Hulii <borys.hulii@bitvavo.com>
8 months ago
Terry Howe
5e8ff72b71
Do not explicitly set SNI in HTTPGetter
...
Co-authored-by: Wahab Ali <wahabalimk@gmail.com>
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
8 months ago
Reinhard Nägele
79a9cc5653
Add timeout flag to repo add and update flags
...
Backport of #30900 to v3.
(cherry picked from commit d448cf1943 )
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
9 months ago
Matt Farina
227c9cb6b6
Disabling linter due to unknown issue
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
9 months ago
Matt Farina
4389fa639a
Updating link handling
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 76fdba4c8c )
9 months ago
Terry Howe
2c55a4e8ce
fix: user username password for login
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
10 months ago
Terry Howe
a16e986d4e
Update pkg/registry/transport.go
...
Co-authored-by: Scott Rigby <scott@r6by.com>
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
10 months ago
Terry Howe
cea26d8bca
Update pkg/registry/transport.go
...
Co-authored-by: Scott Rigby <scott@r6by.com>
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
10 months ago
Terry Howe
b52bb41484
fix: add debug logging to oci transport
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
Co-authored-by: Billy Zha <jinzha1@microsoft.com>
10 months ago
Terry Howe
733f94c86a
fix: legacy docker support broken for login
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
10 months ago
Robert Sirchia
9d56978f65
Merge pull request #30938 from TerryHowe/backport-fix-plugin-install-no-internet
...
fix: backport plugin installer test with no Internet
10 months ago
Terry Howe
fc36041702
fix: plugin installer test with no Internet
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
10 months ago
Scott Rigby
62759a819e
Merge pull request #30916 from jessesimpson36/v3-remove-registry-login-url-with-tests
...
test: add functional tests for "Fix 3.18.0 regression: registry login with scheme"
10 months ago
Matt Farina
cfe8cef46f
Handle an empty registry config file.
...
In the move to oras v2, an existing but empty registry config file
became an uncaught error. A missing file caused no error. This
change catches the error and works around it so that Helm can
continue to be fault tolerant to this issue.
Signed-off-by: Matt Farina <matt.farina@suse.com>
10 months ago
Benoit Tigeot
c33215d765
Prevent fetching newReference again as we have in calling method
...
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
10 months ago