Matthew Fisher
1d36977224
Merge pull request #6824 from bacongobbler/remove-metadata
...
ref(version): lift "unreleased" status
6 years ago
Fabian Ruff
cb81b07125
Reintroduce --is-upgrade to template command
...
This change allows correct rendering of manifests for the upgrade case using `helm template`.
Signed-off-by: Fabian Ruff <fabian.ruff@sap.com>
6 years ago
Matthew Fisher
f388224186
Merge pull request #7152 from karuppiah7890/use-consistent-yaml-pkg
...
use sigs.k8s.io/yaml instead of gopkg.in/yaml.v2
6 years ago
Matthew Fisher
17ec5cd3e7
Merge pull request #7138 from GrahamGoudeau/template-crds
...
Add a flag to allow template to output CRDs
6 years ago
Matt Butcher
e47c67c427
fix: clarified behavior of 'list --deleted' ( #6950 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Matt Butcher
0e42a77ae6
improved the error message for failed package signing ( #6948 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
海的澜色
36a8001e2a
fix this inconsistency in the docs ( #7157 )
...
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
6 years ago
Karuppiah Natarajan
2a66e1a0e1
use sigs.k8s.io/yaml instead of gopkg.in/yaml.v2
...
this is for consistency as everywhere we use sigs.k8s.io/yaml package
Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>
6 years ago
Matt Farina
a626f279ba
Merge pull request #7066 from VilledeMontreal/fix/crashOnMissingFlagValue
...
v3: fix(plugin): Avoid crash on missing flag
6 years ago
Graham Goudeau
01aa1bd3a2
Add a flag to allow template to output CRDs
...
Signed-off-by: Graham Goudeau <graham.goudeau@solo.io>
6 years ago
Remco Haszing
af59e32654
docs(install): clarify the --replace flag ( #7089 )
...
* docs(install): clarify the --replace flag
The description of the `--replace` flag was unclear, as it can’t be
used to replace active releases.
Signed-off-by: Remco Haszing <remcohaszing@gmail.com>
* docs(install): reword replace flag description
Signed-off-by: Remco Haszing <remcohaszing@gmail.com>
6 years ago
Marc Khouzam
32b4e2e5e9
fix(plugin): Avoid crash on missing flag
...
When calling a plugin, if a global flag requiring a parameter was
missing the parameter, helm would crash.
For example:
helm 2to3 --namespace<ENTER>
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
7 years ago
Matt Farina
95b2e788e7
Merge pull request #6919 from VilledeMontreal/fix/listReturnError
...
v3: helm list no longer reporting cluster not reachable
7 years ago
Marc Khouzam
5179f8d698
fix(plugin): Avoid duplication of flag list
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
7 years ago
Marc Khouzam
6473234f43
fix(plugin): Add missing -n known flag
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
7 years ago
Marc Khouzam
30e8ed2f3d
fix(cli): helm list was ignoring some errors
...
If the cluster is not reachable, helm list would not report that error.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
7 years ago
Matthew Fisher
d3f183947a
Merge pull request #6868 from bacongobbler/fix-6322
...
fix(version): implement `helm version -c`, mark as hidden
7 years ago
yuxiaobo
d683a431e2
Correct spelling mistakes
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
7 years ago
Taylor Thomas
4226c45dfd
fix(cmd): Standardizes all output to use lower snake_case names
...
After discussing similar changes in #6866 , we decided to make sure all
JSON and YAML output uses lower snake case names as is generally standard
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
7 years ago
Matthew Fisher
444d006fe2
fix(version): implement `helm version -c`, mark as hidden
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Taylor Thomas
432fd9c110
fix(cmd): Updates description for template validation flag
...
This is a follow up to discussion in #6663 that clarifies exactly what the
validate flag is doing. It isn't meant to be a generic schema validator, but
rather validates the manifests against the current cluster as if it was
going to be installing them.
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
7 years ago
Matt Farina
bf8318ea0b
Merge pull request #6835 from mattfarina/tweak-search-v3
...
Updating the usage language for search repo
7 years ago
Matt Farina
de438b5e68
Updating the usage language for search repo
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
7 years ago
Rimas Mocevicius
0275c6b838
feat(v3): Add shorthand for --all-namespace flag in list command ( #6848 )
...
* feat(v3): add an extra short flag for
Signed-off-by: rimas <rmocius@gmail.com>
* change flag to
Signed-off-by: rimas <rmocius@gmail.com>
7 years ago
Matthew Fisher
6ac64488f3
Merge pull request #6826 from VilledeMontreal/fix/compPluginUninstall
...
fix(comp): helm plugin 'remove' is now 'uninstall'
7 years ago
Kamalashree Nagaraj
73db724c6c
feat(helm): add linting support for '.tar.gz' tarballs for helm charts ( #6829 )
...
When 'helm3 lint <chart-name>.tar.gz' is run, this will lint Chart.yaml in the package
Closes #6535
Signed-off-by: Kamalashree N <nagaraj.kamalashree@gmail.com>
7 years ago
Marc Khouzam
1e58f484ff
fix(comp): helm plugin 'remove' is now 'uninstall'
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
7 years ago
Matthew Fisher
1c64d8fb81
fix(version): lift "unreleased" status
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
dceb50b408
Merge pull request #6807 from bacongobbler/plugin-uninstall
...
ref(cmd): rename `helm plugin remove` to `helm plugin uninstall`
7 years ago
Matthew Fisher
e2233bb571
fix(cmd): clean up helpstring formatting
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
a759f09127
ref(cmd): rename `helm plugin remove` to `helm plugin uninstall`
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
ce494146a4
fix(cmd): fix up help string
...
- replace `helm repo search` with `helm search repo`
- re-clarify that the --version flag accepts a semver range
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
f1dc84773f
Merge pull request #6798 from aaronmell/Make_Namespace_Public
...
Allow namespace to be set by programs consuming helm.
7 years ago
Adam Reese
64b95754ce
Merge pull request #6790 from mumoshu/fix-v3-regression-non-zero-plugin-exit-status
...
fix(v3): fix regression on non-zero plugin exist status
7 years ago
Aaron Mell
31f2fea061
Passing the namespace to actionconfig.Init instead of the entire object.
...
Signed-off-by: Aaron Mell <amell@lumindigital.com>
7 years ago
Aaron Mell
eab9d2817d
Revert "Allow namespace to be set by programs consuming helm."
...
bc2cd3c794
Signed-off-by: Aaron Mell <amell@lumindigital.com>
7 years ago
Marc Khouzam
ef7dd12cac
fix(cli): Remove trailing space of helm env output
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
7 years ago
Aaron Mell
bc2cd3c794
Allow namespace to be set by programs consuming helm.
...
Signed-off-by: Aaron Mell <amell@lumindigital.com>
7 years ago
Yusuke Kuoka
5f27c0cbb7
Do test that a helm plugin can return non-zero exit code other than 1
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
7 years ago
Yusuke Kuoka
32d9b70d22
Ensure plugins return `pluginError`s on non-zero exit statuses
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
7 years ago
Yusuke Kuoka
3144cf0fed
fix(v3): fix regression on non-zero plugin exist status
...
Fixes the regression in helm-3.0.0-beta.5 that swallows and rounds any non-zero exit status greater than 1 from a helm plugin to `1`.
This, for example, breaks `helm-diff` which relies on helm able to return `2` when `helm-diff` returned `2`.
Closese #6788
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
7 years ago
Mateusz Szostok
062235142b
fix(repo/search): fix helm repo search command to display proper versions
...
Introduce the `--devel` flag for `helm repo search` command.
`helm repo search` - searches only for stable releases, prerelease versions will be skip
`helm repo search --devel` - searches for releases and prereleases (alpha, beta, and release candidate releases)
`helm repo search --version 1.0.0 - searches for release in version 1.0.0
Signed-off-by: Mateusz Szostok <szostok.mateusz@gmail.com>
7 years ago
Marc Khouzam
ac86c75b37
feat(comp): Dynamic completion of charts
...
helm show <subcmd> <TAB> - completes to chart (ref, path, url)
helm pull <TAB> - completes to chart (ref, url)
helm install [NAME] <TAB> - completes to chart (ref, path, url)
helm template [NAME] <TAB> - completes to chart (ref, path, url)
helm upgrade <TAB> - completes to release name
helm upgrade <release> <TAB> - completes to chart (ref, path, url)
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
7 years ago
Marc Khouzam
cae8d4a96a
fix(cmd): Add release name to install examples ( #6697 )
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
7 years ago
Matthew Fisher
cfbeead01a
Merge pull request #6693 from thomastaylor312/feat/testing_logs
...
feat(test): Adds --logs flag
7 years ago
Taylor Thomas
25697a62c4
feat(test): Adds --logs flag
...
This is a v3 port of #6612 . There have been significant changes due to the way
Helm 3 refactored things. I chose to add the method for getting logs to the
testing client because it seemed like something that someone using Helm
as an SDK might want. It takes a writer because it is more efficient (less
copying) and can write to any sort of buffer desired
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
7 years ago
Matthew Fisher
4d6a2461f3
fix(cmd): acquire repository.lock
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Taylor Thomas
5a23663c6b
Merge pull request #6679 from thomastaylor312/feat/timestamp_hell
...
feat(*): Adds custom time package for better marshalling
7 years ago
Matthew Fisher
4d5a62303e
fix(kube): replace rather than delete/create
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Taylor Thomas
93abfd75ad
Remove reference to stdtime to reduce confusion
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
7 years ago