Josh Dolitsky
f0a528ec05
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Matthew Fisher
4801818f7c
Switch to distribution v3
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Marc Khouzam
efe2638f87
feat(comp): Move to Cobra's bash completion V2
...
Cobra's bash completion V2 has the following benefits:
- aligned with the completion logic for the other shells
- provides completion descriptions as for the other shells
- uses a 300-line shell script (versus 4K lines for V1)
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Marc Khouzam
c6dfb490ab
feat(comp): Add support for powershell completion
...
Cobra provides powershell auto-completion out of the box. This commit
teaches helm how to use it.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Shoubhik Bose
4691ab3b3a
kube client lib bump to v0.21.3
...
Signed-off-by: Shoubhik Bose <shbose@redhat.com>
5 years ago
André Schröder
b14fe2cead
feat(helm): add --password-stdin to `helm repo add`
...
**What*
Without this commit, you can't pipe the password into `helm repo add`:
```
$ echo password | helm repo add repo-name https://repo-url --username username
Password:
Error: inappropriate ioctl for device
```
This commit introduces `--password-stdin`:
```
$ echo password | helm repo add repo-name https://repo-url --username username --password-stdin
"repo-name" has been added to your repositories
```
**Why**
There are two reasons I see for adding this:
* I personally would expect that it's possible to pipe the password into
`helm repo add` but that's currently not the case. If I understand it
correctly, you currently either need to pass the password via a cli
parameter (`--password`) or use a expect/send mechanism.
* Subcommands like `helm registry login` already support
`--password-stdin`. The cli interfaces should be consistent regarding
which options they support.
**Notes**
I basically just copy-pasted code from `cmd/helm/registry_login.go`.
Signed-off-by: André Schröder <andre.schroedr@gmail.com>
5 years ago
Martin Hickey
e9e6b07f62
Merge pull request #9974 from viccuad/fix-win-resolver-test
...
test: Make internal/resolver/resolver_test.go pass on Win
5 years ago
Víctor Cuadrado Juan
84a07a4774
test: Make internal/resolver/resolver_test.go pass on Win
...
TestGetLocalPath() needs Windows-specific expected strings.
Signed-off-by: Víctor Cuadrado Juan <vcuadradojuan@suse.de>
5 years ago
Martin Hickey
29d273f985
Merge pull request #9967 from longkai/fix-typo
...
fix(typo): fix typo of storage doc
5 years ago
Matthew Fisher
5946457ce9
Merge pull request #9675 from ndeloof/main
...
Migrate to oras-go library
5 years ago
longkai
2deb641efd
fix(typo): fix typo of storage doc
...
Signed-off-by: longkai <im.longkai@gmail.com>
5 years ago
Valentin Flaux
3daaea0a1c
feat(pkg/engine): expose subcharts scope in parent
...
Expose the scope (.Values, .Charts, .Releases etc.) of subcharts to the parent scope.
Signed-off-by: Valentin Flaux <vflaux@oui.sncf>
5 years ago
Nicolas De Loof
663c569887
Migrate to oras-go library
...
see https://github.com/deislabs/oras/pull/265
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
5 years ago
Josh Dolitsky
594ec40709
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Marc Khouzam
6a3daaa7aa
fix(tests): Remove unnecessary test
...
Testing that a bad completion directive was being replaced by the
default one was actually testing Cobra's behaviour. This is unnecessary
especially since that behaviour changed in the 1.2.0 release. Helm
tests should focus on testing Helm's behaviour.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Marc Khouzam
95b80ed80b
chore(deps): Update to Cobra 1.2.1
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Josh Dolitsky
30a8ce5986
Reverse DependingChart test logic, add debug logs
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Josh Dolitsky
241f23d72a
Better NewOCIPusher test, add ORAS link
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Josh Dolitsky
d296ddf026
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Matt Farina
ea41e790a5
Merge pull request #9763 from sathieu/patch-1
...
Ensure RawPath match Path when resolving reference
5 years ago
jayonlau
fc5473f762
Clean up extra spaces
...
Clean up extra spaces, although these errors are not important, they affect the code specification.
Signed-off-by: jayonlau <jayonlau@gmail.com>
5 years ago
Martin Hickey
433b90c4b6
Merge pull request #9929 from goodfirstissue/main
...
refactor: use os instead of ioutil's ReadDir
5 years ago
Josh Dolitsky
4bb28b78d9
Merge pull request #9925 from bloodorangeio/github-actions
...
Add build-pr github actions workflow
5 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>
5 years ago
Josh Dolitsky
28f44b8269
Revert "Use official golangci-lint action"
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Josh Dolitsky
07a25a26f6
Use official golangci-lint action
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Josh Dolitsky
b16091a01a
verify golangci-lint sha256 checksum
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Kally Fox
f9b1445b63
refactor: use os instead of ioutil's ReadDir
...
Signed-off-by: Kally Fox <kallydev@gmail.com>
5 years ago
Josh Dolitsky
8202ccd699
Remove LoginResult/LogoutResult types
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Josh Dolitsky
7605db034d
Use setup-go v2
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Josh Dolitsky
2f63045f25
Add build-pr github actions workflow
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Josh Dolitsky
593eac8876
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Matt Farina
21251378b4
Merge pull request #9870 from mattfarina/fix-9859
...
Set Helm as manager for managedFields
5 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…
5 years ago
Adam Reese
53263c6fb7
feat(linter): check for nested resource-policy annotations
...
The 'helm.sh/resource-policy' annotation is only supported on top level
objects. The annotation is ignored if given on a nested object within a
list.
Ref #9829
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Adam Reese
862e2b255c
Merge pull request #9916 from adamreese/fix/golangci-timout
...
fix(ci-lint): increase timeout for golangci-lint
5 years ago
Adam Reese
d1da9e757e
fix(ci-lint): increase timeout for golangci-lint
...
Signed-off-by: Adam Reese <adam@reese.io>
5 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>
5 years ago
Josh Dolitsky
4884ca0059
revert change related to reading prov file
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Josh Dolitsky
ec84339d44
return errors directly, less lines of code
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Josh Dolitsky
fc98f2e6a3
add checkOCI helper method
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Josh Dolitsky
a38f56c692
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Matt Farina
eb99434597
Merge pull request #9871 from mattfarina/logging-for-creds
...
Fix the url being set by WithURL on the getters
5 years ago
Josh Dolitsky
230e37ca52
remove hardcoded oci strings, add constant/util
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Matt Farina
385fcae1ba
Adding test for user/pass without repo on Helm install
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
5 years ago
Josh Dolitsky
bfa5036a1a
consolidate registry source files
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Josh Dolitsky
4d948b4a06
return err directly from pusher.Push
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Josh Dolitsky
faf7fc5efd
use version.GetUserAgent
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Josh Dolitsky
31588e7908
do not re-use err
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago
Josh Dolitsky
1809cc0509
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
5 years ago