Josh Dolitsky
d296ddf026
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Matt Farina
ea41e790a5
Merge pull request #9763 from sathieu/patch-1
...
Ensure RawPath match Path when resolving reference
3 years ago
Martin Hickey
433b90c4b6
Merge pull request #9929 from goodfirstissue/main
...
refactor: use os instead of ioutil's ReadDir
3 years ago
Josh Dolitsky
4bb28b78d9
Merge pull request #9925 from bloodorangeio/github-actions
...
Add build-pr github actions workflow
3 years ago
Marc Khouzam
6951cd5076
feat(cmd): Allow to specify which repos to update
...
This is a port to helm v3 of #5182 .
A little more flexible than the v2 version, it allows to specify a list
of repositories that should be updated.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
3 years ago
Josh Dolitsky
28f44b8269
Revert "Use official golangci-lint action"
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
07a25a26f6
Use official golangci-lint action
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
b16091a01a
verify golangci-lint sha256 checksum
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Kally Fox
f9b1445b63
refactor: use os instead of ioutil's ReadDir
...
Signed-off-by: Kally Fox <kallydev@gmail.com>
3 years ago
Josh Dolitsky
8202ccd699
Remove LoginResult/LogoutResult types
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
7605db034d
Use setup-go v2
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
2f63045f25
Add build-pr github actions workflow
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
593eac8876
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Matt Farina
21251378b4
Merge pull request #9870 from mattfarina/fix-9859
...
Set Helm as manager for managedFields
3 years ago
Matt Farina
8855488272
Merge pull request #9736 from cndoit18/fix-issue-9348
...
fix(dep update): helm dep update is not respecting the "version" stip…
3 years ago
Adam Reese
862e2b255c
Merge pull request #9916 from adamreese/fix/golangci-timout
...
fix(ci-lint): increase timeout for golangci-lint
3 years ago
Adam Reese
d1da9e757e
fix(ci-lint): increase timeout for golangci-lint
...
Signed-off-by: Adam Reese <adam@reese.io>
3 years ago
小龙同学
cf0c6fed51
fix(doc): fix kube client interface doc. ( #9882 )
...
- add missing interface methods doc.
- fix some wrong english grammar.
Signed-off-by: longkai <im.longkai@gmail.com>
3 years ago
Josh Dolitsky
4884ca0059
revert change related to reading prov file
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
ec84339d44
return errors directly, less lines of code
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
fc98f2e6a3
add checkOCI helper method
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
a38f56c692
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Matt Farina
eb99434597
Merge pull request #9871 from mattfarina/logging-for-creds
...
Fix the url being set by WithURL on the getters
3 years ago
Josh Dolitsky
230e37ca52
remove hardcoded oci strings, add constant/util
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Matt Farina
385fcae1ba
Adding test for user/pass without repo on Helm install
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
3 years ago
Josh Dolitsky
bfa5036a1a
consolidate registry source files
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
4d948b4a06
return err directly from pusher.Push
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
faf7fc5efd
use version.GetUserAgent
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
31588e7908
do not re-use err
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
1809cc0509
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Matt Farina
4e2e4084ed
Fix the url being set by WithURL on the getters
...
The URL passed to the getter for WithURL needs to be a full URL
rather than a chart reference used at the CLI. For example,
bitnami/wordpress can point to the wordpress chart in the bitnami
repo where the bitnami repo is at https://charts.bitnami.com .
WithURL needs the full URL to the repo and not bitnami/wordpress.
This is important because getters use the full URL information.
In this case the http getter uses the host name for SNI handling.
Before this change WithURL was being set to the chart reference
instead of the URL. This was a silent bug.
This change sets WithURL using a URL after for the repo is
available when a reference is used instead of a full url.
Signed-off-by: Matt Farina <matt.farina@suse.com>
3 years ago
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>
3 years ago
Martin Hickey
ae8e88e0d9
Merge pull request #9862 from longkai/refine-http-req
...
refactor(getter): refine http GET request
3 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>
3 years ago
Josh Dolitsky
56028e8d0d
modify helm push help text
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
1fe2024be3
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 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
3 years ago
Josh Dolitsky
4ed8e77026
remove tmp path in case it exists
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
e5b03c73f0
do not update oci-based repos
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
e856df8a54
provide hint if attempting to push directory
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
04d2da3637
return friendly error if missing scheme
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
3e17c1a7ef
remove action errors assuming CLI
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
35fdc688cd
remove the --with-prov option
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
eba63beab1
move experimental actions to new internal package
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
8f60ee76a5
resolve golint errors
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
24a216d3b2
move pkg/uploader, pkg/pusher to internal
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
4073e4d118
inline data fetching for pull result
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
dd7bc40bc4
one-line JSON unmarshall
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
817ac8ff9f
do not wrap single imports/vars
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 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>
3 years ago