Martin Hickey
9a0e7d8a31
Improve error message to check in unit test
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 years ago
Martin Hickey
ca931b472b
Merge pull request #7691 from longkb/add_ut_for_values
...
Add unit test for lint/values.go
5 years ago
Martin Hickey
93137abbb4
Merge pull request #7410 from tiendc/unit_test_releaseutil
...
Add unit test for Reverse() in pkg/releaseutil/sorter.go
5 years ago
Kim Bao Long
9d20e44ad1
Add unit test for lint/values.go
...
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
5 years ago
tiendc
26830942d2
Fix a bug in Delete() in storage/driver/cfgmaps.go ( #7367 )
5 years ago
tiendc
06bc18c624
Fix a bug in storage/driver/secrets.go Delete() ( #7348 )
...
* Fix a bug in storage/driver/secrets.go
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
Matt Farina
e3cfae63f9
Merge pull request #7761 from bridgetkromhout/correct-release-notes-links
...
Correcting links for release notes
5 years ago
liuming216448
cca6828806
fix: allow to rollback to previous version even if no deployed releases( #6978 )
...
Signed-off-by: liuming <hit_oak_tree@126.com>
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
Bridget Kromhout
4feed2de1b
Correcting links for release notes
...
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
5 years ago
Matt Farina
2dfb20f332
Merge pull request #7751 from mattfarina/fix-7748
...
Fixing issue where archives created on windows have broken paths
5 years ago
Jacob LeGrone
9496a7474b
Add tests
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Jacob LeGrone
8d1de39fe3
Add more detail to error messages and support a non-force mode in metadata visitor
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
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
Matt Farina
28b085bed5
Fixing issue where archives created on windows have broken paths
...
When archives are created on windows the path spearator in the
archive file is \\. This causes issues when the file is unpacked.
For example, on Linux the files are unpacked in a flat structure
and \ is part of the file name. This causes comp issues. In Helm
v2 the path was set as / when the archive was written. This works
on both Windows and POSIX systems.
The fix being implemented is to use the ToSlash function to ensure
/ is used as the separator.
Fixes #7748
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Matt Farina
66292e5e24
Merge pull request #7164 from jmcelwain/master
...
fix(install): use ca file for install (#7140 )
5 years ago
James McElwain
bf5c0ae7f4
fix(install): correct append tls config.
...
Signed-off-by: James McElwain <jmcelwain@gmail.com>
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
c8d8007c7a
Fix stray modules
...
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
Matthew Fisher
ec1d1a3d3e
Merge pull request #7739 from bacongobbler/go-mod-tidy
...
chore(go.mod): run `go mod tidy`
5 years ago
Jacob LeGrone
d829343c15
Use Create method if no resources need to be adopted
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Matthew Fisher
187526eb13
chore(go.mod): run `go mod tidy`
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
5bb951d5a2
Merge pull request #7636 from paulczar/make-release-notes
...
Adds script to help craft release notes
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
Martin Hickey
eaebce6738
Merge pull request #7651 from sshukun/fix-v1-dep
...
Fix dep build to be compatiable with Helm 2 when requirements use repo alias
5 years ago
Mikhail Gusarov
b864fcd0f4
Make the charts cache safe in presence of several Helm instances
...
If several instances of Helm are run at the same moment and try to download the
same chart, some of them might see an empty or incomplete file in cache. Prevent
that by saving the dowloaded file atomically.
Closes #7600
Signed-off-by: Mikhail Gusarov <misha@ridge.co>
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
Matthew Fisher
b1959a309e
Merge pull request #7674 from sshukun/package-lock-file
...
Save Chart.lock to helm package tar
5 years ago
Matthew Fisher
ead3429408
Merge pull request #7713 from q384566678/add-secrets-test
...
pkg/storage: add unit test
5 years ago
Matthew Fisher
6bed5949cb
Merge pull request #7714 from donggangcj/respect-resource-policy-on-upgrade
...
fix(helm): respect resource policy on ungrade
5 years ago
Matthew Fisher
1940f500fd
Merge pull request #7721 from bacongobbler/fix-7230
...
ref(environment): use string checking instead
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
faf5cfb2cb
Merge pull request #7189 from pmacik/fix-os.Stat
...
Repair unit tests failing on Linux caused by using the os.Stat
5 years ago
Matthew Fisher
14f6d1ea97
ref(environment): use string checking instead
...
It is more idiomatic to compare the string against the empty string than to check the string's length.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
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
13ffa52a59
Merge pull request #7706 from mattfarina/fix-7624
...
Fixes verification output on pull command
5 years ago
Song Shukun
a992464fa2
Save Chart.lock to helm package tar
...
Signed-off-by: Song Shukun <song.shukun@fujitsu.com>
5 years ago
Martin Hickey
9d7907342d
Merge pull request #7514 from fhopfensperger/fix-7497
...
fixed dependencies processing in case of helm install or upgrade for …
5 years ago
Dong Gang
69d9722eda
test(helm): fix client update error
...
Signed-off-by: Dong Gang <dong.gang@daocloud.io>
5 years ago
Dong Gang
c45869c4ad
fix(helm): polish goimport
...
Signed-off-by: Dong Gang <dong.gang@daocloud.io>
5 years ago
Zhou Hao
f5da6bd3d6
add unit test for RecordsReplace
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 years ago
Dong Gang
9744e9f619
fix(helm): respect resource policy on ungrade
...
Don't delete a resource on upgrade if it is annotated with
helm.io/resource-policy=keep. This can cause data loss for users
if the annotation is ignored(e.g. for a PVC)
Close #7677
Signed-off-by: Dong Gang <dong.gang@daocloud.io>
5 years ago
Zhou Hao
ae508ebd1c
add unit test for ConfigMapDelete
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 years ago