Matt Farina
aeb94798f0
Set Helm as manager for managedFields
...
managedFields were a changed that landed in 1.18. This is an array
under metadata with managedFields. The kubernetes client pkgs that
Helm uses automatically add them.
This change added a manager for the managedFields. The flow for
deciding on the name to use is:
1. An explicit name if one is chosen
2. The base name of the first os.Arg (the binary name) if no name
explicitly set.
3. unknown if no name set and name cannot be detected
The name is at the package level as there is no other place to easily
set it for Helm v3. Since the name is for the binary or app it should
be ok to set app wide.
Signed-off-by: Matt Farina <matt.farina@suse.com>
4 years ago
Martin Hickey
ae8e88e0d9
Merge pull request #9862 from longkai/refine-http-req
...
refactor(getter): refine http GET request
4 years ago
longkai
0d9ebc7885
refactor(getter): refine http GET request
...
It just makes the code better, I suppose the following is rational:
- use standard libaray common constants instead of hardcode though it's
really common
- close the response body even if the http status code is not 200 OK.
The doc says *It is the caller's responsibility to close Body*.
- move the `bytes.Buffer` return value declaration where it gets used.
Signed-off-by: longkai <im.longkai@gmail.com>
4 years ago
Josh Dolitsky
56028e8d0d
modify helm push help text
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
1fe2024be3
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Adam Reese
fa558f7843
Merge pull request #9828 from cvila84/dep-tls-config
...
use TLS client information from repo config when downloading a chart
4 years ago
Josh Dolitsky
4ed8e77026
remove tmp path in case it exists
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
e5b03c73f0
do not update oci-based repos
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
e856df8a54
provide hint if attempting to push directory
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
04d2da3637
return friendly error if missing scheme
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
3e17c1a7ef
remove action errors assuming CLI
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
35fdc688cd
remove the --with-prov option
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
eba63beab1
move experimental actions to new internal package
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
8f60ee76a5
resolve golint errors
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
24a216d3b2
move pkg/uploader, pkg/pusher to internal
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
4073e4d118
inline data fetching for pull result
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
dd7bc40bc4
one-line JSON unmarshall
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
817ac8ff9f
do not wrap single imports/vars
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Christophe VILA
8232a76aef
use TLS client information from repo config when downloading a chart
...
Signed-off-by: Christophe VILA <christophe.vila@thalesgroup.com>
4 years ago
Mathieu Parent
dbb4eb6b75
Ensure RawPath match Path when resolving reference
...
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
4 years ago
Josh Dolitsky
cd27cf660f
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Matt Farina
179f90151d
Merge pull request from GHSA-56hp-xqp3-w2jf
...
tweak basic handling
4 years ago
Matt Farina
17ed9c4cd3
tweak basic handling
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
4 years ago
Martin Hickey
3e1da5f39c
Merge pull request #9795 from helm/release-3.6
...
Cherry-pick off the current PRs merged for 3.6.1 release
4 years ago
Mike Ng
877276ceda
keep existing behavior of returning ErrReleaseNotFound when release(s) failed to decode
...
Signed-off-by: Mike Ng <ming@redhat.com>
(cherry picked from commit 3be333b73b
)
4 years ago
Mike Ng
f2d7ed8d80
fix(sql storage): Query() should return ErrReleaseNotFound immediately when no records are found
...
Signed-off-by: Mike Ng <ming@redhat.com>
(cherry picked from commit b86105aebc
)
4 years ago
Leon Bentrup
c084ca0259
Add Test cases for repository-config without file extension
...
Signed-off-by: Leon Bentrup <4458913+xanecs@users.noreply.github.com>
(cherry picked from commit ccada716ee
)
4 years ago
Leon Bentrup
7d81733af7
Correctly determine repository-config lockfile path
...
helm repo add automatically creates a lockfile based on the repository config file path
When the given filepath did not include a file extension, a lockfile in a nonexistent directory
would have been created.
Signed-off-by: Leon Bentrup <4458913+xanecs@users.noreply.github.com>
(cherry picked from commit f091b9cc01
)
4 years ago
Marcus Speight
cbd2868ac2
Fixed Test
...
Signed-off-by: Marcus Speight <marcus.speight@hotmail.co.uk>
Signed-off-by: Marcus Speight <marcus@pmconnect.co.uk>
(cherry picked from commit 7a663a56c2
)
4 years ago
Marcus Speight
9fbf594b80
Added test for lint mode
...
Signed-off-by: Marcus Speight <marcus.speight@hotmail.co.uk>
(cherry picked from commit 8aa42824f9
)
4 years ago
Marcus Speight
bcee7a30fe
Fail message is now the same as the required message.
...
Fixed #8973 Helm function 'fail' should not fail when doing 'helm lint'
Signed-off-by: Marcus Speight <marcus.speight@hotmail.co.uk>
(cherry picked from commit 7a0739a863
)
4 years ago
yxxhero
80402dc078
fix helm dep build/update doesn't inherit --insecure-skip-tls-verify from helm repo add
...
Signed-off-by: yxxhero <aiopsclub@163.com>
(cherry picked from commit f735a240b6
)
4 years ago
Josh Dolitsky
f7247c40ee
Upgrade to oras-go v0.4.0
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
866e7e80b6
Upgrade to oras-go v0.3.0
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
4e7a01fa7a
Merge branch 'main' of github.com:helm/helm into hip-6
4 years ago
Martin Hickey
281380f31c
Merge pull request #9659 from mladedav/feature/upgrade-dep-up
...
Feature/upgrade dep up
4 years ago
Martin Hickey
ed7b6c4761
Merge pull request #8470 from mikeshng/sql-query-fix
...
fix(sql storage): Query() should return ErrReleaseNotFound immediately when no records are found
4 years ago
Josh Dolitsky
00985cad6b
Implement changes proposed in HIP 6
...
For more information, please see the following URL:
https://github.com/helm/community/blob/main/hips/hip-0006.md
Note: OCI support remains experimental, and you are still
required to set HELM_EXPERIMENTAL_OCI=1 in your environment.
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
yxxhero
20e2aec793
Add a more friendly prompt when index.yaml is empty.
...
Signed-off-by: yxxhero <aiopsclub@163.com>
4 years ago
Martin Hickey
bf486a25cd
Merge pull request #8853 from xanecs/master
...
Correctly determine lockfile path in helm repo add
4 years ago
Martin Hickey
dffc2a30c7
Merge pull request #9035 from wizbit/fail-message
...
Fail message is now the same as the required message.
4 years ago
Martin Hickey
699ea6dcef
Merge pull request #9066 from scaat/fix-specification
...
[FIX]Unified go specification
4 years ago
Martin Hickey
599c071ac7
Merge pull request #9681 from cndoit18/add-max-col-width-parameters
...
support max-col-width parameters
4 years ago
Martin Hickey
f2fc466d88
Merge pull request #9623 from link108/fix-get-helm-scripts
...
Fix install scripts, hardcode latest/last v2 release
4 years ago
Martin Hickey
e87f815637
Merge pull request #9756 from codeJack/fix-issue-9749
...
Fix coalesce globals to prevent subchart globals to leak upstream
4 years ago
Martin Hickey
c1d4cf0861
Merge pull request #9030 from yxxhero/helm_dep_build_update_inherit_insecure_skip_tls_verify_from_helm_repo_add
...
fix helm dep build/update doesn't inherit --insecure-skip-tls-verify from helm repo add
4 years ago
Giacomo Margaria
3b68afc1c8
Fix coalesce globals to prevent subchart globals to leak upstream
...
Signed-off-by: Giacomo Margaria <giacomo.margaria@gmail.com>
4 years ago
cndoit18
402c7f1a52
fix(dep update): helm dep update is not respecting the "version" stipulated in the requirements
...
Signed-off-by: cndoit18 <cndoit18@outlook.com>
4 years ago
Matt Farina
db4d20f3ad
Merge pull request #9734 from technosophos/admin/switch-fib-to-emeritus
...
Switched Brian emeritus
4 years ago
Matt Butcher
6e329b19a7
Switched Brian emeritus
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago