Marc Khouzam
80e6ce6b2d
fix(plugin): Avoid duplication of flag list
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
(cherry picked from commit 5179f8d698 )
7 years ago
Marc Khouzam
27b0442252
fix(plugin): Add missing -n known flag
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
(cherry picked from commit 6473234f43 )
7 years ago
Marc Khouzam
da496234a8
fix(cli): IsReachable check for "get values"
...
The 'helm get values' has its own Run() method in the action package.
So, unlike the other 'get' variants, it needs to check for the
reachability of the cluster itself.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
(cherry picked from commit bf4cc97bbe )
7 years ago
Scott Morgan
73074769a4
fix(lint): Remove requirement that directory name and chart name match
...
Signed-off-by: Scott Morgan <morgandev@gmail.com>
(cherry picked from commit 32ce016054 )
7 years ago
Scott Morgan
b6894300b0
remove unused variable
...
Signed-off-by: Scott Morgan <morgandev@gmail.com>
(cherry picked from commit eb833ccead )
7 years ago
Scott Morgan
5c4125f88a
fix(lint): Remove requirement that directory name and chart name match
...
Signed-off-by: Scott Morgan <morgandev@gmail.com>
(cherry picked from commit 8a8463e08d )
7 years ago
Hang Park
e29ce2a54e
fix(pkg/downloader): resolve repo alias before checking digests on build
...
`Update()` gets repo names before resolving a lock file by calling
`resolveRepoNames(req)`. But that method changes aliased repo URLs into
the actual URLs. That makes digests from `helm update` and `helm build`
be different for each other.
To make them in sync, setting actual (resolved) repo URLs into the
loaded chart during `helm build` is necessary. Thus, this commit adds an
extra step in the `Build()` implementation.
For comments, this commit also changes the name of `getRepoNames()` into
`resolveRepoNames()` to avoid misunderstanding since getters are
expected to not mutate their input data in general.
Signed-off-by: Hang Park <hangpark@kaist.ac.kr>
7 years ago
Hang Park
bd47ae79e9
fix(pkg/downloader): add failing test for build with repo alias
...
Signed-off-by: Hang Park <hangpark@kaist.ac.kr>
7 years ago
Matthew Fisher
c7b722b837
fix(ci): pin golangci-lint to v1.21.0
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
b5d4d61eb8
fix(strvals): port #3912 , #4142 , #4682 , and #5151 to Helm 3
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
86d218f2a4
fix(tlsutil): accept only a CA certificate for validation
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Taylor Thomas
2ed206799b
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
f96a6ea9ad
fix(show): restore comments from raw values
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Taylor Thomas
7e43badea2
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
Matthew Fisher
048c1d5f7f
fix(getter): set up TLS options during .Get()
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
5657ea7f00
fix(chart): add JSON tags to chart object
...
Go capitalizes field names by default.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
34b2bd68dc
fix(version): implement `helm version -c`, mark as hidden
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Fabian Ruff
166092fd7e
Consider namespace when comparing resources
...
Fixes #6857
Signed-off-by: Fabian Ruff <fabian.ruff@sap.com>
7 years ago
Yagnesh Mistry
82ea5aa774
Fix import
...
Signed-off-by: Yagnesh Mistry <ysh@live.in>
7 years ago
Yagnesh Mistry
7628ef9453
fix rename for helm dependency upgrade
...
This code was ported over from PR #5038 , #6738 which were originally for helm
v2. The code contains functions from golang/dep/internal/fs for renaming files.
Signed-off-by: Yagnesh Mistry <ysh@live.in>
7 years ago
Lam Le
7ed5319bab
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>
7 years ago
Marc Khouzam
00c7880792
fix(comp): helm plugin 'remove' is now 'uninstall'
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
7 years ago
Matt Farina
4b7304ce0e
Updating the usage language for search repo
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
7 years ago
Matthew Fisher
e2a01b2ea5
fix(kube): return error when object cannot be patched
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
b78bed641b
fix(action): strip file extensions from name
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Jeff Bachtel
70dd1b6c4d
Add namespace option to example kubectl command
...
Signed-off-by: Jeff Bachtel <jeff.bachtel@ironnetcybersecurity.com>
7 years ago
Matthew Fisher
ee77ae3d40
fix(version): lift "unreleased" status
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
2033853d8c
Merge pull request #6822 from bacongobbler/security-audit
...
fix(loader): error out when loading irregular files
7 years ago
Taylor Thomas
2f4ef705a9
Merge pull request #6818 from thomastaylor312/fix/v1_apiextensions
...
fix(chartutil): Add the v1 apiextensions to the default scheme
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
99fb116f87
Merge pull request #6806 from bacongobbler/fixup-helpstring
...
fix(cmd): clean up helpstring formatting
7 years ago
Taylor Thomas
b6f5762d46
fix(chartutil): Add the v1 apiextensions to the default scheme
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
7 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
7 years ago
Taylor Thomas
5f4b184b4b
Merge pull request #6817 from thomastaylor312/fix/sort_validation
...
fix(releaseutil): Removes API version checks from kind sorter
7 years ago
Taylor Thomas
6a91263e38
fix(releaseutil): Removes API version checks from kind sorter
...
The sorting method for manifests contained a check to see if the API
version existed. This violates separation of concerns as the sorter
should just sort and leave validation to other parts of the code.
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
7 years ago
Matthew Fisher
5a7d4f1f74
fix(loader): error out when loading irregular files
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Yusuke Kuoka
6d91d1aca8
fix(v3): Allow rendering CRDs in `helm template` client-only validation
...
Fixes #6665
Ref https://github.com/helm/helm/pull/6729#issuecomment-547415165
Relates to #6729 and #6811
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
7 years ago
Adam Reese
82a100b0b7
Merge pull request #6808 from adamreese/ref/kube-1.16.2
...
ref(go.mod): kubernetes 1.16.2
7 years ago
Matthew Fisher
e2233bb571
fix(cmd): clean up helpstring formatting
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Adam Reese
712c90fd82
ref(go.mod): kubernetes 1.16.2
...
Signed-off-by: Adam Reese <adam@reese.io>
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
51fbcc8cf0
Merge pull request #6786 from bacongobbler/fixup-helpstring
...
fix(cmd): fix up help string
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
Matthew Fisher
2c791189f8
Merge pull request #6736 from hangpark/fix/calculate-digest-from-chart-yaml-n-chart-lock
...
fix(pkg/downloader): Calculate digest from both Chart.lock & Chart.yaml deps
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
Matthew Fisher
cc4f02280b
Merge pull request #6802 from VilledeMontreal/fix/envRemoveSpace
...
fix(cli): Remove trailing space of helm env output
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