Liu Ming
b3a2fab907
docs: fix capitalization in a few help messages
...
1. fixed capitalization in a few help messages
2. use no thrid-person verb.
ref #7898
Signed-off-by: Liu Ming <hit_oak_tree@126.com>
(cherry picked from commit bc515991f8 )
(cherry picked from commit 9036e17fb6 )
6 years ago
Lüchinger Dominic
2a2db11228
Fix markdown table in helm command doc
...
The tables aren't rendered correctly because the syntax was wrong. Fixed it by applying the https://www.markdownguide.org/extended-syntax/#tables table syntax.
See https://helm.sh/docs/helm/helm/#synopsis for the wrong rendering.

Fix for helm/helm-www#575
Signed-off-by: Lüchinger Dominic <dev@snowgarden.ch>
(cherry picked from commit fb829c2c84 )
(cherry picked from commit 8635a19660 )
6 years ago
Adam Reese
ede5718a3f
fix(pkg/plugin): copy plugins directly to the data directory ( #7962 )
...
Copy plugins from the cache rather than create a symlink.
fixes : #7206
Signed-off-by: Adam Reese <adam@reese.io>
(cherry picked from commit 1cdd0a2048 )
(cherry picked from commit 48d09a26d2 )
6 years ago
Matthew Morrissette
e146ccd93f
fix(helm): allow a previously failed release to be upgraded ( #7653 )
...
Signed-off-by: Matt Morrissette <yinzara@gmail.com>
(cherry picked from commit 1911870958 )
(cherry picked from commit 56ef9ab386 )
6 years ago
Marc Khouzam
120c25353c
chore(helm): Avoid confusion in command usage
...
Having both the `showCmd` and the `subCmd` passed to `addShowFlags()`
can easily lead to mistakes in using the wrong command.
Instead, `addShowFlags()` should only focus on the `subCmd`
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
(cherry picked from commit 7dec5dcb8e )
6 years ago
Martin Hickey
564044c7d0
Fix unit test
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
(cherry picked from commit 5600a2c82d )
6 years ago
Martin Hickey
4cdc98264b
Fix repo cache setting
...
Fix `repo add` and `repo update` to use a repository cache set
using `--repository-cache` flag
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
Signed-off-by: Trond Hindenes <trond@hindenes.com>
(cherry picked from commit 2ae83f276b )
6 years ago
Matt Butcher
7bffac813d
bump version to v3.2
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Elliot Maincourt
21d2aa7f2b
Migrate SQL storage driver to Helm 3 ( #7635 )
...
* Migrate SQL storage driver to Helm 3
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Update pkg/storage/driver/sql.go
Co-Authored-By: Sebastian Pöhn <sebastian.poehn@gmail.com>
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Add authentication to releases_v3
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Fix migration
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Template the init migration
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Prevent potential SQL injection
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Use an SQL querybuilder
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
* Remove references to HELM_DRIVER_SQL_DIALECT
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
Co-authored-by: Sebastian Pöhn <sebastian.poehn@gmail.com>
Co-authored-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Matt Butcher
fa5eb64f32
fix: rebuild chart after dependency update on install ( #7897 )
...
* fix: rebuild chart after dependency update on install
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* add correct debug settings
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Matt Farina
a3fa01ff8b
Merge pull request #7640 from yinzara/bugfix/issue-7002
...
fix(helm): stdin values for helm upgrade --install
6 years ago
Matt Farina
59447f850c
Merge pull request #7900 from mattfarina/moar-version-template
...
Adding template docs to the version command
6 years ago
Matt Butcher
0c87ca544f
updated help text for install --atomic, which was completely inaccurate ( #7912 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Matt Butcher
469837b92c
fixed capitalization in a few help messages. ( #7898 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Marc Khouzam
65f28c153a
chore(comp): Remove unnecessary code
...
After the introduction of lazy loading of the Kubernetes client as part
of PR #7831 , there is no longer a need to protect against an incomplete
--kube-context value when doing completion.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
6 years ago
Adam Reese
c2da4fd53d
ref(*): kubernetes v1.18 ( #7831 )
...
Upgrade Kubernetes libraries to v0.18.0
Add new lazy load KubernetesClientSet to avoid missing kubeconfig error
In kubernetes v1.18 kubeconfig validation was added. Minikube and Kind
both remove kubeconfig when stopping clusters. This causes and error
when running any helm commands because we initialize the client before
executing the command.
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matt Farina
0d9727d6ab
Adding template docs to the version command
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Andreas Lindhé
f89d985cb8
Implement support for multiple args for repo remove ( #7791 )
...
* Implement support for multiple args for repo remove
Signed-off-by: Andreas Lindhé <andreas@lindhe.io>
6 years ago
Matt Butcher
bd13b80b12
fix: fixed bug in Dependency.List() ( #7852 )
...
* fix: fixed bug in Dependency.List()
A bug in Dependency.List() caused all compressed charts to flag their dependencies as "missing".
Closes #4431
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* removed some files from test fixtures
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Mario Valderrama
6414791e08
Improve --show-only flag ( #7816 )
...
* Improve --show-only flag
* Ensure consistent manifest ordering
6 years ago
Martin Hickey
06b43f63c3
Merge pull request #7830 from jgleonard/render-subchart-notes-on-upgrade-install
...
Render subchart notes on upgrade install
6 years ago
Jon Leonard
f927275461
remove unneeded values files from testchart
...
Signed-off-by: Jon Leonard <jgleonard@gmail.com>
6 years ago
Jon Leonard
cfdd466192
update test chart to helm3 format
...
Signed-off-by: Jon Leonard <jgleonard@gmail.com>
6 years ago
Martin Hickey
783be10aef
Merge pull request #7381 from naseemkullah/create-hpa
...
[helm create] Add hpa boilerplate
6 years ago
Jon Leonard
a7e79ee434
Delete unneeded chart output
...
Signed-off-by: Jon Leonard <jgleonard@gmail.com>
6 years ago
Jon Leonard
e2b70b2f4b
add testing for upgrade --install with subchart notes
...
Signed-off-by: Jon Leonard <jgleonard@gmail.com>
6 years ago
Jon Leonard
00201ffaa8
pass subchart notes option to install client
...
Signed-off-by: Jon Leonard <jgleonard@gmail.com>
6 years ago
Matt Farina
22344063d2
Merge pull request #7753 from anshulvermapatel/helm/7749/helm_list_short_listing_format
...
Solves the issue #7749
6 years ago
Martin Hickey
3cc5811de5
Merge pull request #7744 from hickeyma/port-devel-show
...
fix(show): Port --devel flag for show command
6 years ago
Marc Khouzam
22b7562c62
fix(cli): Make upgrade check if cluster reachable
...
The 'helm upgrade' command was not checking if the cluster was reachable.
Also, 'helm upgrade --install' first checks if the release exists
already. If that check fails there is no point in continuing the
upgrade. This optimization avoids a second timeout of 30 seconds when
trying to do the upgrade.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
6 years ago
Anshul Verma
4113fc8951
Solve the issue #7749 where proper formating was not being done if --short(-q) option was used with other formating options like json, yaml
...
Signed-off-by: Anshul Verma <ansverma@localhost.localdomain>
6 years ago
Anshul Verma
c354de80e5
Solve the issue #7749 where proper formating was not being done if --short(-q) option was used with other formating options like json, yaml
...
Signed-off-by: Anshul Verma <ansverma@localhost.localdomain>
6 years ago
Anshul Verma
7470337d32
Solve the issue #7749 where proper formating was not being done if --short(-q) option was used with other formating options like json, yaml
...
Signed-off-by: Anshul Verma <ansverma@localhost.localdomain>
6 years ago
Anshul Verma
51dd8313bc
Solve the issue #7749 where proper formating was not being done if --short(-q) option was used with other formating options like json, yaml
...
Signed-off-by: Anshul Verma <ansverma@localhost.localdomain>
6 years ago
Martin Hickey
d59493adff
Add unit test
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Martin Hickey
a6994f6659
Port --devel flag from v2 to v3
...
Helm v2 PR #5141
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Martin Hickey
3d288b9823
Merge pull request #7661 from akash-gautam/fix/issue-7452
...
fix(helm): add --skip-crds flag to 'helm upgrade'
6 years ago
Matt Butcher
16024dc19a
fix: add new static linter and fix issues it found ( #7655 )
...
* fix: add new static linter and fix issues it found
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* fixed two additional linter errors.
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Matthias Riegler
dc26128fb4
Add --insecure-skip-tls-verify for repositories ( #7254 )
...
* added --insecure-skip-tls-verify for chart repos
Signed-off-by: Matthias Riegler <me@xvzf.tech>
* fixed not passing the insecureSkipTLSverify option
Signed-off-by: Matthias Riegler <me@xvzf.tech>
* fixed testcase
Signed-off-by: Matthias Riegler <me@xvzf.tech>
* pass proxy when using insecureSkipVerify
Signed-off-by: Matthias Riegler <me@xvzf.tech>
* Add testcases for insecureSkipVerifyTLS
Signed-off-by: Matthias Riegler <me@xvzf.tech>
* added missing err check
Signed-off-by: Matthias Riegler <me@xvzf.tech>
* panic after json marshal fails
Signed-off-by: Matthias Riegler <me@xvzf.tech>
6 years ago
Matt Farina
e0d11be6db
Merge pull request #7707 from mattfarina/add-verify-out-to-command
...
Add verification output to the verify command
6 years ago
Matthew Fisher
3dbc4dd53b
Merge pull request #7230 from waveywaves/update/token
...
feat(cli) Pass token via cli
6 years ago
Matthew Fisher
2c10f96b59
Merge pull request #7556 from unguiculus/template-output
...
Fix 'helm template' to also print invalid yaml
6 years ago
Matt Farina
af35d61a98
Add verification output to the verify command
...
This complements the verification output fixed in #7706 . On verify
there should be some detail about the verification rather than
no information.
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Matt Farina
a3f92f65e2
Fixes verification output on pull command
...
When using the --verify flag on the pull command the output was
an internal Go object rather than useful detail. This is a bug.
The output new displays who signed the chart along with the
hash.
Fixes #7624
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Matt Morrissette
1ab52fa79c
fix(helm): stdin values for helm upgrade --install
...
Signed-off-by: Matt Morrissette <yinzara@gmail.com>
6 years ago
Martin Hickey
53b6580bad
Merge pull request #7692 from eyablokov/patch-1
...
Update README.md
6 years ago
Evgenii Iablokov
ebd48557b1
Update README.md
...
Typo fix: Space missed in Markdown header.
Signed-off-by: Evgeniy Yablokov <ey@odoscope.com>
6 years ago
Xiangxuan Liu
d5a2963cc9
Add test for unknown subcommand
...
Signed-off-by: Xiangxuan Liu <xiangxuan.liu@rightcapital.com>
6 years ago
Xiangxuan Liu
8f962a270c
Return "unknown command" error for unknown subcommands
...
Signed-off-by: Xiangxuan Liu <xiangxuan.liu@rightcapital.com>
6 years ago
Pavel Macík
f05ffdd2da
Fix golangci-lint errors.
...
Signed-off-by: Pavel Macík <pavel.macik@gmail.com>
6 years ago