George Jenkins
a69eaf6098
Merge pull request #30764 from nvanthao/backport-30673
...
v3 backport: Process all hook deletions on failure
9 months ago
Robert Sirchia
94044595c7
bump version to v3.18.0
...
(cherry picked from commit 74c3d1dc0de0335f941362c80447871e7d6bc78e)
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
9 months ago
Terry Howe
cdd7c105a6
docs: Note about http fallback for OCI registries
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
9 months ago
Scott Rigby
e4bc4a31b9
Merge pull request #30768 from banjoh/em/fix-take-ownership
...
v3 backport - fix --take-ownership
9 months ago
Benoit Tigeot
087fa18276
Bump toml
...
Looking at the [toml diff](https://github.com/BurntSushi/toml/compare/v1.4.0...v1.5.0 ). I think it's safe to change the test here.
For main: https://github.com/helm/helm/pull/30775
Closes: https://github.com/helm/helm/pull/30683
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
9 months ago
Evans Mungai
0906fe7f6b
Add install test for TakeOwnership flag
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
9 months ago
Patrick Seidensal
4ee3a19e9a
Fix --take-ownership
...
If a resource exists in the cluster and is to be adopted by helm install
--take-ownership, it is left unchanged while helm reports the
installation to have succeeded.
This is due to CRs and CRDs being merged without three-way-merge, which
results in an empty patch.
By using a three-way-merge transparently when --take-ownership is used,
the helm behaves as expected without breaking previous behavior.
Fixes #30622
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
9 months ago
Gerard Nguyen
0a800e84b0
backport #30673 to dev-v3
...
Signed-off-by: Gerard Nguyen <gerard@replicated.com>
9 months ago
Matt Farina
3ce10e4f81
Unarchiving fix
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
(cherry picked from commit 7cc4dcf94ee410c8e0d64f3e726dda199c24ccb2)
10 months ago
Benoit Tigeot
422c58e4a2
Fix typo
...
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
10 months ago
Benoit Tigeot
5e7f12d4c3
Report as debug log, the time spent waiting for resources
...
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
10 months ago
Terry Howe
1435ec7c77
Update pkg/registry/fallback.go
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
11 months ago
Terry Howe
674e882c88
automatic fallback to http
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
11 months ago
Terry Howe
c188441757
chore(oci): upgrade to ORAS v2
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
11 months ago
Scott Rigby
bcb83e465f
Fix cherry-pick helm.sh/helm/v4 -> helm.sh/helm/v3
...
Signed-off-by: Scott Rigby <scott@r6by.com>
11 months ago
Chris Berry
2aa90b8f26
Refactor based on review comment
...
Signed-off-by: Chris Berry <bez625@gmail.com>
11 months ago
Chris Berry
5739197faa
Refactor based on review comment
...
Signed-off-by: Chris Berry <bez625@gmail.com>
11 months ago
Chris Berry
b8e13878fc
Add HookOutputFunc and generic yaml unmarshaller
...
Signed-off-by: Chris Berry <bez625@gmail.com>
11 months ago
Scott Rigby
97b0e11871
clarify fix error message
...
Signed-off-by: Scott Rigby <scott@r6by.com>
11 months ago
Scott Rigby
2f79afb0a3
fix err check
...
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>
11 months ago
Scott Rigby
c77f4ec6c4
remove comments about previous functionality
...
Signed-off-by: Scott Rigby <scott@r6by.com>
11 months ago
Scott Rigby
3cd6afe845
add short circuit return
...
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>
11 months ago
Chris Berry
5367001f4f
Update based on review comments
...
Signed-off-by: Chris Berry <bez625@gmail.com>
11 months ago
Chris Berry
3c445158d8
Update based on review comments
...
Signed-off-by: Chris Berry <bez625@gmail.com>
11 months ago
Chris Berry
4cb639ed4e
Fix lint
...
Signed-off-by: Chris Berry <bez625@gmail.com>
11 months ago
Chris
20f859c9ff
Tidy up imports
...
Signed-off-by: Chris <bez625@gmail.com>
11 months ago
Chris Berry
ca90972b3d
Add hook annotations to output pod logs to client on success and fail
...
Signed-off-by: Chris Berry <bez625@gmail.com>
11 months ago
Matt Farina
e2c7986f30
Merge pull request #13534 from althmoha/dev-v3-12987
...
fix (helm) : toToml` renders int as float [ backport to v3 ]
12 months ago
George Jenkins
80f87ab636
Merge pull request #13654 from ryanhockstad/subchart-null
...
[backport] bugfix: Override subcharts with null values
1 year ago
Matt Farina
9aff8bdaa0
Merge pull request #13644 from mattfarina/backport-13583
...
fix: check group for resource info match (v3 backport)
1 year ago
George Jenkins
6ed9d2f2d5
Merge pull request #13592 from stevehipwell/add-plugin-platform-hooks-v3
...
feat: Add multi-platform plugin hook support [v3 backport]
1 year ago
Jiasheng Zhu
2ebce786ba
fix: check group for resource info match
...
Closes : #13582
Signed-off-by: Jiasheng Zhu <gnehsaijuhz@hotmail.com>
(cherry picked from commit f5d488122b )
1 year ago
Ryan Hockstad
326c1e3f67
add test for nullifying nested global value
...
Signed-off-by: Ryan Hockstad <ryanhockstad@gmail.com>
1 year ago
Matt Farina
fba9d08dce
Ensuring the file paths are clean prior to passing to securejoin
...
securejoin v0.4.0 made a possibly breaking change. Only clean paths
are safe to pass to SecureJoin or they could return an error or
have the wrong path. The details are in the release notes for v0.4.0.
This change ensures the paths are clean prior to passing to SecureJoin.
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 35a9ead998 )
1 year ago
Matt Farina
d6db69ed66
bump version to v3.17.0
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 301108edc7 )
1 year ago
Ryan Hockstad
ef2eb55283
Add test case for removing an entire object
...
Signed-off-by: Ryan Hockstad <ryanhockstad@gmail.com>
1 year ago
Scott Rigby
60fcce18d1
Tests for bugfix: Override subcharts with null values #12879
...
- Add consistency for null test in given values, parent chart, subchart, and
sub-sub-chart
- Remove bar null test to keep consistent with boat=null at top level
Signed-off-by: Scott Rigby <scott@r6by.com>
1 year ago
Andrew Block
83dddb1839
feat: Added multi-platform plugin hook support to v3
...
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
1 year ago
Terry Howe
949b2e6040
fix: make ORAS reference private
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
(cherry picked from commit d2b94f6200 )
1 year ago
Terry Howe
aba95b9cb4
fix: issue with helm template and oci chart
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
(cherry picked from commit aca7e8d775 )
1 year ago
Terry Howe
c3e5217d85
feat: allow installation by OCI digest
...
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
(cherry picked from commit ad9fb68fa3 )
1 year ago
Matt Farina
9ade3b502a
Merge pull request #13574 from gjenkins8/v3_13343
...
Add annotations and dependencies to get metadata output [v3 backport]
1 year ago
Matt Farina
4f0b63483e
Merge pull request #13575 from gjenkins8/v3_13232
...
ref(create): don't render empty resource fields [v3 backport]
1 year ago
Matt Farina
391a90752d
Merge pull request #13512 from gjenkins8/shadow_oras_remoteclient_type
...
fix: Shadow ORAS remote.Client interface [v3 backport]
1 year ago
Matt Farina
9f620b857a
Update to Go 1.23
...
Multiple changes were made to pass linting. Some Go built-in names
are being used for variables (e.g., min). This happens in the Go
source itself including the Go standard library and is not always
a bad practice.
To handle allowing some built-in names to be used the linter config
is updated to allow (via opt-in) some names to pass. This allows us
to still check for re-use of Go built-in names and opt-in to any
new uses.
There were also several cases where a value was checked for nil
before checking its length when this is already handled by len()
or the types default value. These were cleaned up.
The license validation was updated because it was checking everything
in the .git directory including all remote content that was local.
The previous vendor directory was from a time prior to Go modules
when Helm handled dependencies differently. It was no longer needed.
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 5727f56a96 )
1 year ago
dnskr
ba180a3b6a
ref(create): don't render empty resource fields
...
Signed-off-by: Denis Krivenko <dnskrv88@gmail.com>
Signed-off-by: dnskr <dnskrv88@gmail.com>
1 year ago
Niladri Halder
7321579092
Add annotations and dependencies to get metadata output
...
The output of helm get metadata includes a subset of the fields contained in
the chart.Metadata struct. This change adds the values of the annotations field
and the dependencies field to the output.
Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
1 year ago
Althaf M
0a6834fdf0
This commit fixes the issue where the yaml.Unmarshaller converts all int values into float64, this passes in option to decoder,
...
which enables conversion of int into .
Signed-off-by: Althaf M <althafm@outlook.com>
1 year ago
George Jenkins
c40cf00a06
Shadow ORAS remote.Client interface
...
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
1 year ago
Matt Farina
3fe0bbdd44
Merge pull request #13480 from rynowak/rynowak/override-authorizer
...
Make the authorizer and registry authorizer configurable
1 year ago