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
Zhou Hao
95d7f36d41
add unit test for SecretDelete
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 years ago
Matthew Fisher
8edf86a718
fix(ADOPTERS): alphabetize org list ( #7645 )
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 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>
5 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>
5 years ago
Matt Morrissette
1ab52fa79c
fix(helm): stdin values for helm upgrade --install
...
Signed-off-by: Matt Morrissette <yinzara@gmail.com>
5 years ago
Martin Hickey
53b6580bad
Merge pull request #7692 from eyablokov/patch-1
...
Update README.md
5 years ago
Martin Hickey
09f24673e0
Merge pull request #7040 from nauxliu/unknown-subcommand-error
...
Return "unknown command" error for unknown subcommands
5 years ago
Evgenii Iablokov
ebd48557b1
Update README.md
...
Typo fix: Space missed in Markdown header.
Signed-off-by: Evgeniy Yablokov <ey@odoscope.com>
5 years ago
Xiangxuan Liu
d5a2963cc9
Add test for unknown subcommand
...
Signed-off-by: Xiangxuan Liu <xiangxuan.liu@rightcapital.com>
5 years ago
Xiangxuan Liu
8f962a270c
Return "unknown command" error for unknown subcommands
...
Signed-off-by: Xiangxuan Liu <xiangxuan.liu@rightcapital.com>
5 years ago
Matthew Fisher
4c55073da4
Merge pull request #7684 from pmacik/fix-lint
...
Fix golangci-lint errors.
5 years ago
Pavel Macík
f05ffdd2da
Fix golangci-lint errors.
...
Signed-off-by: Pavel Macík <pavel.macik@gmail.com>
5 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>
5 years ago
Adam Reese
0e335c545f
Merge pull request #7678 from adamreese/fix/shellwords
...
fix(cmd/helm): upgrade go-shellwords
5 years ago
Adam Reese
c235470e59
fix(cmd/helm): upgrade go-shellwords
...
Removes workaround introduced in #7323
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Matthew Fisher
ec2e77cded
Merge pull request #7648 from bacongobbler/fix-6794
...
feat(install): introduce --create-namespace
5 years ago
Matthew Fisher
7fd30581b6
Merge pull request #7665 from TomasKohout/master
...
Printing name of chart that do not have requested import value.
5 years ago
Martin Hickey
1ea17f19e2
Merge pull request #7663 from q384566678/add-record-test
...
Add record util test
5 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>
5 years ago
Zhou Hao
f1f661d4ca
pkg/storage/records: add unit test for Exists
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 years ago
Zhou Hao
c96aff6a43
pkg/storage/records: add unit test for Index
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 years ago
Zhou Hao
6b1eebd23a
pkg/storage/records: add unit test for Get
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 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>
5 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>
5 years ago
Marc Khouzam
97e353bda5
feat(comp): Dynamic completion for plugins
...
For each plugin, helm registers a ValidArgsFunction which the completion
script will call when it needs dynamic completion. This
ValidArgsFunction will setup the plugin environment and then call the
executable `plugin.complete`, if it is provided by the plugin.
The output of the call to `plugin.complete` will be used as completion
choices. The last line of the output can optionally be used by the
plugin to specify a completion directive.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Marc Khouzam
7654c18c6b
feat(comp): Static completion for plugins
...
Allow plugins to optionally specify their sub-cmds and flags through a
simple yaml file.
When generating the completion script with the command
'helm completion <bash|zsh>' (and only then), helm will look for that
yaml file in the plugin's directory. If the file exists, helm will
create cobra commands and flags so that the completion script will
handle them.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Jacob LeGrone
271cb2268b
Alternative: annotation-only solution
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Jacob LeGrone
a29365b3c6
Adopt resources into release with correct instance and managed-by labels
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Marc Khouzam
d6fad6b3c6
feat(comp): Move kube-context completion to Go
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Matthew Fisher
2d191fc111
Merge pull request #7427 from poelzi/master
...
Use /usr/bin/env for bash
5 years ago
Matthew Fisher
64ce6e6a74
Merge pull request #7591 from ylvmw/master
...
IsReachable() needs to give detailed error message.
5 years ago
Matthew Fisher
694cf61aac
feat(install): introduce --create-namespace
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago