Matt Farina
2dfb20f332
Merge pull request #7751 from mattfarina/fix-7748
...
Fixing issue where archives created on windows have broken paths
6 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>
6 years ago
Matt Farina
66292e5e24
Merge pull request #7164 from jmcelwain/master
...
fix(install): use ca file for install (#7140 )
6 years ago
James McElwain
bf5c0ae7f4
fix(install): correct append tls config.
...
Signed-off-by: James McElwain <jmcelwain@gmail.com>
6 years ago
Martin Hickey
3d288b9823
Merge pull request #7661 from akash-gautam/fix/issue-7452
...
fix(helm): add --skip-crds flag to 'helm upgrade'
6 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
6 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>
6 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>
6 years ago
Matthew Fisher
b1959a309e
Merge pull request #7674 from sshukun/package-lock-file
...
Save Chart.lock to helm package tar
6 years ago
Matthew Fisher
ead3429408
Merge pull request #7713 from q384566678/add-secrets-test
...
pkg/storage: add unit test
6 years ago
Matthew Fisher
6bed5949cb
Merge pull request #7714 from donggangcj/respect-resource-policy-on-upgrade
...
fix(helm): respect resource policy on ungrade
6 years ago
Matthew Fisher
1940f500fd
Merge pull request #7721 from bacongobbler/fix-7230
...
ref(environment): use string checking instead
6 years ago
Matt Farina
e0d11be6db
Merge pull request #7707 from mattfarina/add-verify-out-to-command
...
Add verification output to the verify command
6 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
6 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>
6 years ago
Matthew Fisher
3dbc4dd53b
Merge pull request #7230 from waveywaves/update/token
...
feat(cli) Pass token via cli
6 years ago
Matt Farina
13ffa52a59
Merge pull request #7706 from mattfarina/fix-7624
...
Fixes verification output on pull command
6 years ago
Song Shukun
a992464fa2
Save Chart.lock to helm package tar
...
Signed-off-by: Song Shukun <song.shukun@fujitsu.com>
6 years ago
Martin Hickey
9d7907342d
Merge pull request #7514 from fhopfensperger/fix-7497
...
fixed dependencies processing in case of helm install or upgrade for …
6 years ago
Dong Gang
69d9722eda
test(helm): fix client update error
...
Signed-off-by: Dong Gang <dong.gang@daocloud.io>
6 years ago
Dong Gang
c45869c4ad
fix(helm): polish goimport
...
Signed-off-by: Dong Gang <dong.gang@daocloud.io>
6 years ago
Zhou Hao
f5da6bd3d6
add unit test for RecordsReplace
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
6 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>
6 years ago
Zhou Hao
ae508ebd1c
add unit test for ConfigMapDelete
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
6 years ago
Zhou Hao
95d7f36d41
add unit test for SecretDelete
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
6 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>
6 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>
6 years ago
Song Shukun
13e2dcfde5
Fix dep build to be compatiable with Helm 2 when requirements use repo alias
...
Signed-off-by: Song Shukun <song.shukun@fujitsu.com>
6 years ago
Matthew Fisher
ec2e77cded
Merge pull request #7648 from bacongobbler/fix-6794
...
feat(install): introduce --create-namespace
6 years ago
Matthew Fisher
7fd30581b6
Merge pull request #7665 from TomasKohout/master
...
Printing name of chart that do not have requested import value.
6 years ago
Tomáš Kohout
b4f716413c
Printing name of chart that do not have requested import value.
...
Signed-off-by: Tomas Kohout <tomas.kohout@leveris.com>
6 years ago
Zhou Hao
f1f661d4ca
pkg/storage/records: add unit test for Exists
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
6 years ago
Zhou Hao
c96aff6a43
pkg/storage/records: add unit test for Index
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
6 years ago
Zhou Hao
6b1eebd23a
pkg/storage/records: add unit test for Get
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
6 years ago
akash-gautam
e92a258a9d
fix(helm): add --skipCRDs flag to 'helm upgrade'
...
When 'helm upgrade --install' is run, this will allow to skip installing CRDs
Closes #7452
Signed-off-by: akash-gautam <gautam.akash04@gmail.com>
6 years ago
Marc Khouzam
7f3339cb4e
feat(tests): Allow to provision memory driver
...
The memory driver is used for go tests. It can also be used from the
command-line by setting the environment variable HELM_DRIVER=memory.
In the latter case however, there was no way to pre-provision some
releases.
This commit introduces the HELM_MEMORY_DRIVER_DATA variable which
can be used to provide a colon-separated list of yaml files specifying
releases to provision automatically.
For example:
HELM_DRIVER=memory \
HELM_MEMORY_DRIVER_DATA=./testdata/releases.yaml \
helm list --all-namespaces
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
6 years ago
Matthew Fisher
64ce6e6a74
Merge pull request #7591 from ylvmw/master
...
IsReachable() needs to give detailed error message.
6 years ago
Matthew Fisher
694cf61aac
feat(install): introduce --create-namespace
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
09f49458b0
Merge pull request #7608 from q384566678/add-gate-test
...
pkg/gates: add unit test for String
6 years ago
Song Shukun
1ff7202a98
Fix output of list action when it is failed
...
Signed-off-by: Song Shukun <song.shukun@fujitsu.com>
6 years ago
Vibhav Bobade
4bd3b8fc06
Pass the apiserver address/port via cli, introduce HELM_KUBEAPISERVER envvar
...
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
6 years ago
Song Shukun
eda60a59b6
pkg/helmpath: fix unit test for Windows
...
Signed-off-by: Song Shukun <song.shukun@fujitsu.com>
6 years ago
Taylor Thomas
512e1b8bc9
Merge pull request #7401 from hiddeco/non-global-scheme-convert
...
fix(kube): use non global Scheme to convert
6 years ago
Taylor Thomas
2cd3d12acd
Merge pull request #7530 from plenus-cloud/fix-7513
...
fix(helm): Don't wait for service to be ready when external IP are set
6 years ago
Song Shukun
e9f40ed7a5
fix golint failure in pkg/action
...
Signed-off-by: Song Shukun <song.shukun@fujitsu.com>
6 years ago
Martin Hickey
0c9e99dce5
Merge pull request #7365 from fenggw-fnst/mybranch
...
Add corresponding unit test to the function in parser.go
6 years ago
Zhou Hao
03b04639f3
pkg/gates: add unit test for String
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
6 years ago
Martin Hickey
7b9dc71c25
Fix render error not being propogated
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Martin Hickey
722042e852
Merge pull request #7570 from Maronee/upgradeOpenApiValidation
...
feat(upgrade): introduce --disable-openapi-validation:
6 years ago
ylvmw
54ca879095
IsReachable() needs to give detailed error message.
...
Signed-off-by: ylvmw <yngliu@vmware.com>
6 years ago