Lüchinger Dominic
fb829c2c84
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.
![Broken table in html](https://imgur.com/bniKxO6 )
Fix for helm/helm-www#575
Signed-off-by: Lüchinger Dominic <dev@snowgarden.ch>
4 years ago
Anshul Verma
cd50d0c362
Fix : Prints empty list in json/yaml is no repositories are present ( #7949 )
...
* Prints empty repolist in json/yaml if there are no repos and output format is given as json/yaml rather that printing the error msg "no repositories to show"
Signed-off-by: Anshul Verma <anshulvermapatel@gmail.com>
* Prints empty repolist in json/yaml if there are no repos and output format is given as json/yaml rather that printing the error msg "no repositories to show"
Signed-off-by: Anshul Verma <anshulvermapatel@gmail.com>
4 years ago
Adam Reese
4a0dfbe53b
fix(pkg/cli): ensure correct configuration from kubeconfig file
...
Bind Helm flags to Kubernetes configuration loader to get a merged
config with kubeconfig.
Fixes : #7539
Signed-off-by: Adam Reese <adam@reese.io>
4 years ago
Adam Reese
9ced0165ab
fix(cmd/env): make helm env command respect cli flags ( #7978 )
...
Running `helm env` should respect cli flag overrides.
Signed-off-by: Adam Reese <adam@reese.io>
4 years ago
Adam Reese
1cdd0a2048
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>
4 years ago
Matthew Morrissette
1911870958
fix(helm): allow a previously failed release to be upgraded ( #7653 )
...
Signed-off-by: Matt Morrissette <yinzara@gmail.com>
4 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>
4 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>
4 years ago
Matt Farina
a3fa01ff8b
Merge pull request #7640 from yinzara/bugfix/issue-7002
...
fix(helm): stdin values for helm upgrade --install
4 years ago
Matt Farina
59447f850c
Merge pull request #7900 from mattfarina/moar-version-template
...
Adding template docs to the version command
4 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>
4 years ago
Matt Butcher
469837b92c
fixed capitalization in a few help messages. ( #7898 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 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>
4 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>
4 years ago
Matt Farina
0d9727d6ab
Adding template docs to the version command
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 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>
5 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>
5 years ago
Mario Valderrama
6414791e08
Improve --show-only flag ( #7816 )
...
* Improve --show-only flag
* Ensure consistent manifest ordering
5 years ago
Martin Hickey
06b43f63c3
Merge pull request #7830 from jgleonard/render-subchart-notes-on-upgrade-install
...
Render subchart notes on upgrade install
5 years ago
Jon Leonard
f927275461
remove unneeded values files from testchart
...
Signed-off-by: Jon Leonard <jgleonard@gmail.com>
5 years ago
Jon Leonard
cfdd466192
update test chart to helm3 format
...
Signed-off-by: Jon Leonard <jgleonard@gmail.com>
5 years ago
Martin Hickey
783be10aef
Merge pull request #7381 from naseemkullah/create-hpa
...
[helm create] Add hpa boilerplate
5 years ago
Jon Leonard
a7e79ee434
Delete unneeded chart output
...
Signed-off-by: Jon Leonard <jgleonard@gmail.com>
5 years ago
Jon Leonard
e2b70b2f4b
add testing for upgrade --install with subchart notes
...
Signed-off-by: Jon Leonard <jgleonard@gmail.com>
5 years ago
Jon Leonard
00201ffaa8
pass subchart notes option to install client
...
Signed-off-by: Jon Leonard <jgleonard@gmail.com>
5 years ago
Matt Farina
22344063d2
Merge pull request #7753 from anshulvermapatel/helm/7749/helm_list_short_listing_format
...
Solves the issue #7749
5 years ago
Martin Hickey
3cc5811de5
Merge pull request #7744 from hickeyma/port-devel-show
...
fix(show): Port --devel flag for show command
5 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>
5 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>
5 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>
5 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>
5 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>
5 years ago
Martin Hickey
d59493adff
Add unit test
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 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>
5 years ago
Martin Hickey
3d288b9823
Merge pull request #7661 from akash-gautam/fix/issue-7452
...
fix(helm): add --skip-crds flag to 'helm upgrade'
5 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>
5 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>
5 years ago
Matt Farina
e0d11be6db
Merge pull request #7707 from mattfarina/add-verify-out-to-command
...
Add verification output to the verify command
5 years ago
Matthew Fisher
3dbc4dd53b
Merge pull request #7230 from waveywaves/update/token
...
feat(cli) Pass token via cli
5 years ago
Matthew Fisher
2c10f96b59
Merge pull request #7556 from unguiculus/template-output
...
Fix 'helm template' to also print invalid yaml
5 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>
5 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>
5 years ago
Matt Morrissette
1ab52fa79c
fix(helm): stdin values for helm upgrade --install
...
Signed-off-by: Matt Morrissette <yinzara@gmail.com>
5 years ago
Martin Hickey
53b6580bad
Merge pull request #7692 from eyablokov/patch-1
...
Update README.md
5 years ago
Evgenii Iablokov
ebd48557b1
Update README.md
...
Typo fix: Space missed in Markdown header.
Signed-off-by: Evgeniy Yablokov <ey@odoscope.com>
5 years ago
Xiangxuan Liu
d5a2963cc9
Add test for unknown subcommand
...
Signed-off-by: Xiangxuan Liu <xiangxuan.liu@rightcapital.com>
5 years ago
Xiangxuan Liu
8f962a270c
Return "unknown command" error for unknown subcommands
...
Signed-off-by: Xiangxuan Liu <xiangxuan.liu@rightcapital.com>
5 years ago
Pavel Macík
f05ffdd2da
Fix golangci-lint errors.
...
Signed-off-by: Pavel Macík <pavel.macik@gmail.com>
5 years ago
Adam Reese
c235470e59
fix(cmd/helm): upgrade go-shellwords
...
Removes workaround introduced in #7323
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Matthew Fisher
ec2e77cded
Merge pull request #7648 from bacongobbler/fix-6794
...
feat(install): introduce --create-namespace
5 years ago