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>
5 years ago
Matthew Fisher
9ed2a28ede
ref(tlsutil): remove ServerConfig
...
dead code from Tiller days
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
aa6104e442
fix(tlsutil): accept only a CA certificate for validation
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matt Butcher
865c46c014
fix: stop discovery errors from halting chart rendering. ( #6908 )
...
This blocks a particular error (caused by upstream discovery client),
printing a warning instead of failing. It's not a great solution, but is
a stop-gap until Client-Go gets fixed.
Closes #6361
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Marc Brugger
8231b17c31
print gvk information on existing resource conflict
...
Signed-off-by: Marc Brugger <github@bakito.ch>
5 years ago
Marc Khouzam
3e09e2fa28
fix(cli): Sort output of helm env
...
Before this change, running 'helm env' multiple times would generate
a different order for the output each time. This is because Go
purposely loops over hash maps in a random order.
This commit sorts the environment variables by alphabetical order before
generating the output.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Matthew Fisher
43acbfe86d
Merge pull request #6841 from bacongobbler/fix-6354
...
fix(show): restore comments from raw values
5 years ago
Matthew Fisher
bd1f4a443e
fix(show): restore comments from raw values
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
3d6db86b4a
Merge pull request #6865 from bacongobbler/fix-6635
...
fix(getter): set up TLS options during .Get()
5 years ago
Matthew Fisher
d3f183947a
Merge pull request #6868 from bacongobbler/fix-6322
...
fix(version): implement `helm version -c`, mark as hidden
5 years ago
Matthew Fisher
f2ba0696e7
Merge pull request #6882 from yuxiaobo96/helm-checks
...
Correct spelling mistakes
5 years ago
yuxiaobo
d683a431e2
Correct spelling mistakes
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
5 years ago
Taylor Thomas
7d9084eb6c
Merge pull request #6881 from thomastaylor312/fix/lowercase_the_output
...
fix(cmd): Standardizes all output to use lower snake_case names
5 years ago
Taylor Thomas
4b462c3902
Merge pull request #6869 from databus23/compare-ns
...
Consider namespace when comparing resources
5 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>
5 years ago
Matthew Fisher
18ed620bc2
Merge pull request #6866 from bacongobbler/add-json-tags
...
fix(chart): add JSON tags to chart object
5 years ago
Taylor Thomas
40e505fb0d
Merge pull request #6861 from thomastaylor312/fix/validate_description
...
fix(cmd): Updates description for template validation flag
5 years ago
Fabian Ruff
7f7e90b407
Consider namespace when comparing resources
...
Fixes #6857
Signed-off-by: Fabian Ruff <fabian.ruff@sap.com>
5 years ago
Matthew Fisher
444d006fe2
fix(version): implement `helm version -c`, mark as hidden
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
c9b127c3ee
fix(getter): set up TLS options during .Get()
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
668f51bfdf
fix(chart): add JSON tags to chart object
...
Go capitalizes field names by default.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Marc Khouzam
f16d3e295c
fix(comp): Protect against user's aliases
...
If a user has aliases commands that we use in the completion script
such as grep, cut, tail, it may cause the script to misbehave.
By escaping the commands, we tell the shell not to use any aliases.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 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>
5 years ago
Matt Farina
bf8318ea0b
Merge pull request #6835 from mattfarina/tweak-search-v3
...
Updating the usage language for search repo
5 years ago
Matt Farina
9f1dc3b0d5
Merge pull request #6750 from ysh7/support-cross-device-rename-v3
...
Support cross device rename for helm v3
5 years ago
Matt Farina
de438b5e68
Updating the usage language for search repo
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 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>
5 years ago
Matthew Fisher
42dea4427b
Merge pull request #6837 from bacongobbler/fix-6600
...
fix(action): strip file extensions from name
5 years ago
Matthew Fisher
bf012282c8
fix(action): strip file extensions from name
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Taylor Thomas
de000a455f
Merge pull request #6840 from helm/revert-6831-morten/reproducible-builds
...
Revert "[Makefile] Support reproducible builds"
5 years ago
Taylor Thomas
9ecbc4d001
Revert "[Makefile] Support reproducible builds"
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Taylor Thomas
5de9538885
Merge pull request #6831 from Foxboron/morten/reproducible-builds
...
[Makefile] Support reproducible builds
5 years ago
Matthew Fisher
469bb6b0bd
Merge pull request #6836 from bacongobbler/fix-6805
...
fix(kube): return error when object cannot be patched
5 years ago
Matthew Fisher
85673f3aa3
Merge pull request #6839 from jeffb4/update-kubectl-proxy-cmd-example
...
(nit) Add namespace option to example kubectl command
5 years ago
Jeff Bachtel
2e1c54855e
Add namespace option to example kubectl command
...
Signed-off-by: Jeff Bachtel <jeff.bachtel@ironnetcybersecurity.com>
5 years ago
Matthew Fisher
9ba574f130
Merge pull request #6821 from lamLeX/fix-6820
...
Porting commit f5986db184
5 years ago
Matthew Fisher
a505f91073
fix(kube): return error when object cannot be patched
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
6ac64488f3
Merge pull request #6826 from VilledeMontreal/fix/compPluginUninstall
...
fix(comp): helm plugin 'remove' is now 'uninstall'
5 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>
5 years ago
Morten Linderud
065dfb0e5b
[Makefile] Support reproducible builds
...
Circleci is used to build the release artifacts and embeds build paths
into the binary release. To reproduce the release binaries we then need
to also build in the same path as a result.
$ strings linux-amd64/helm | grep "home/circleci" | wc -l
174
Go 1.13 introduces `-trimpath` which strips the build path from all
compiled binaries. This should enable people to reproduce the
distributed helm binaries.
https://reproducible-builds.org/docs/source-date-epoch/
https://golang.org/doc/go1.13#go-command
Signed-off-by: Morten Linderud <morten@linderud.pw>
5 years ago
Marc Khouzam
1e58f484ff
fix(comp): helm plugin 'remove' is now 'uninstall'
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Matthew Fisher
1c64d8fb81
fix(version): lift "unreleased" status
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Lam Le
afda6b4940
Porting fix from commit f5986db184
...
This port fixes the bug #6820 for helm3
which was fixed in helm2 with the pull request 4850
https://github.com/helm/helm/pull/4850
Signed-off-by: Lam Le <lam281990@gmail.com>
5 years ago
Matthew Fisher
2033853d8c
Merge pull request #6822 from bacongobbler/security-audit
...
fix(loader): error out when loading irregular files
5 years ago
Taylor Thomas
2f4ef705a9
Merge pull request #6818 from thomastaylor312/fix/v1_apiextensions
...
fix(chartutil): Add the v1 apiextensions to the default scheme
5 years ago
Matthew Fisher
dceb50b408
Merge pull request #6807 from bacongobbler/plugin-uninstall
...
ref(cmd): rename `helm plugin remove` to `helm plugin uninstall`
5 years ago
Matthew Fisher
99fb116f87
Merge pull request #6806 from bacongobbler/fixup-helpstring
...
fix(cmd): clean up helpstring formatting
5 years ago
Taylor Thomas
b6f5762d46
fix(chartutil): Add the v1 apiextensions to the default scheme
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Taylor Thomas
9322910eb9
Merge pull request #6812 from mumoshu/fix-misisng-apiextensionsv1beta1-on-template-cmd
...
fix(v3): Allow rendering CRDs in `helm template` client-only validation
5 years ago
Taylor Thomas
5f4b184b4b
Merge pull request #6817 from thomastaylor312/fix/sort_validation
...
fix(releaseutil): Removes API version checks from kind sorter
5 years ago