Li Zhijian
d9ad9153c8
Use RemoveAll to remove a non-empty directory
...
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
4 years ago
Li Zhijian
cccc2867ea
mark NewTempServer as Deprecated
...
Please use NewTempServerWithCleanup instead
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
4 years ago
Li Zhijian
35c5268d9d
Use T.Cleanup() to cleanup temp dir helm-repotest
...
For backward compatibility, as suggested by @bacongobbler, we introduce
a new API NewTempServerWithCleanup
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
4 years ago
Li Zhijian
ba4c8029c2
Use T.cleanup() to cleanup helm-action-test
...
T.Cleanup() is introduced since go-1.14
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
4 years ago
Matt Farina
4f7b9fcb67
Merge pull request #8638 from rudeigerc/feat/env-variable
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Yuchen Cheng
195d7a6507
add checkFileCompletion for env HELM_BIN
...
Signed-off-by: Yuchen Cheng <rudeigerc@gmail.com>
4 years ago
rudeigerc
10d4d2ed99
feat(env): add support of accepting a specific variable for helm env
...
Signed-off-by: Yuchen Cheng <rudeigerc@gmail.com>
4 years ago
Matt Farina
4bb8483a28
Merge pull request #8637 from mattfarina/fix-8631-bug
...
Fixing failing CI for windows
4 years ago
Matt Farina
3fc88f2492
Fixing failing CI for windows
...
A fix introduced in #8631 caused a bug in Windows builds due to
a type difference between POSIX and Windows environments. This
change corrects that problem and provides a code comment to warn
others.
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Matthew Fisher
0a28e5cbff
Merge pull request #8631 from mrueg/sem-fixes
...
pkg/*: Small linting fixes
4 years ago
Matt Farina
e62f427b31
Merge pull request #8629 from MaXinjian/release-notes
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Matt Farina
c7b5f5f88f
Merge pull request #8627 from mattfarina/fix-6418
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Manuel Rüger
4abcdc40ef
pkg/*: Small linting fixes
...
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
4 years ago
Ma Xinjian
8a545d6ca7
Correct checksum file links
...
Signed-off-by: Ma Xinjian <maxj.fnst@cn.fujitsu.com>
4 years ago
Matthew Fisher
0941e3e345
Merge pull request #8613 from tariq1890/if-optimise
...
optimise if condition in service ready logic
4 years ago
Matt Farina
11f658e223
Fixing linting of templates on Windows
...
When the engine stored templates in the map the keys were generated
based on path and not filepath. filepath was being used in the linter
when retrieving content from the keys. On Windows the keys ended up
being different.
This change is to use path joins to create the lookup key. Since the
name path was used in the code it needed to be changed in order to
import the package.
Tests already exist and were failing on windows. This got in because
CI is not run on Windows.
Closes #6418
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Matthew Fisher
198f403688
Merge pull request #8590 from Foxboron/morten/fix-go1.15
...
release/mock: Ensure conversion from int to string yields a string
4 years ago
Matthew Fisher
18247ed1c0
Merge pull request #8521 from bacongobbler/stale-issue-bot
...
introduce stale issue bot
4 years ago
Matthew Fisher
d13c43d3e8
use URL escape codes
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
4 years ago
Matthew Fisher
9664bb2a0a
add v4 to list of exempt labels
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
4 years ago
Tariq Ibrahim
b07b2589fb
optimise if condition in service ready logic
...
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
4 years ago
Marc Khouzam
d6708667da
feat(comp): Disable file completion when not valid
...
With Cobra 1.0, it is now possible to control when file completion
should or should not be done. For example:
helm list <TAB>
should not trigger file completion since 'helm list' does not accept
any arguments.
This commit disables file completion when appropriate and adds tests to
verify that file completion is properly disabled.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
4 years ago
Matt Farina
c2c8c570e9
Merge pull request #8539 from MaXinjian/arch
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Matthew Fisher
c26881ca81
Merge pull request #8595 from meyskens/v0.18.8
...
Bump Kubernetes to v0.18.8
4 years ago
Matthew Fisher
bb33b9264f
Merge pull request #8507 from rajatjindal/fix-watch-timeout-error
...
fix watch error due to elb/proxy timeout
4 years ago
Maartje Eyskens
065b7f6e25
Bump Kubernetes to v0.18.8 + Bump jsonpatch
...
jsonpatch now is the same version as used in Kubernetes v0.18.8
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
4 years ago
Martin Hickey
273d0364be
Merge pull request #8532 from dm3ch/labels-selector
...
Adding filtering of helm releases for configmap and secret backends during list command
4 years ago
Morten Linderud
83a5e620d0
release/mock: Ensure conversion from int to string yields a string
...
With the release of go 1.15, the test-suite doesn't pass as `go test` got
a new warning for improper `string(x)` usage.
https://golang.org/doc/go1.15#vet
$ make test-unit
# helm.sh/helm/v3/pkg/release
pkg/release/mock.go:56:27: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
[snip]
make: *** [Makefile:82: test-unit] Error 2
This patch changes ensures we are utilizing `fmt.Sprint` instead as
recommended.
Signed-off-by: Morten Linderud <morten@linderud.pw>
4 years ago
Martin Hickey
91094186eb
Merge pull request #8562 from andytom/chore/update_starter_chart
...
Update Common Lables template in starter chart
4 years ago
Thomas O'Donnell
4b1fa60d58
Update Common Lables template in starter chart
...
Have update the Common Labels template in the starter chart so that the
value for the `app.kubernetes.io/version` is set to the same value as
the image tag used in the deployment.
Signed-off-by: Thomas O'Donnell <andy.tom@gmail.com>
4 years ago
Martin Hickey
621c2020c6
Merge pull request #8505 from jiayushe/master
...
Avoid hardcoded container port in default notes
4 years ago
Martin Hickey
7645f128b0
Merge pull request #8557 from tero-dev/patch-1
...
Fix Quick Start Guide Link in README.md
4 years ago
Tero
5421c7e995
Fix Quick Start Guide Link in README.md
...
The previous link https://docs.helm.sh/using_helm/#quickstart-guide was redirecting into https://helm.sh/ja/docs/intro/ which is a Japanese version of the docs. I've fixed the link so it goes into the English version instead.
Signed-off-by: Tero <31454692+tero-dev@users.noreply.github.com>
4 years ago
Martin Hickey
a5047b2f6c
Merge pull request #8438 from donggangcj/feature/support-jsonpath
...
feature(show): support jsonpath output for `helm show value`
4 years ago
Dong Gang
df4708a9de
polish the error handler
...
Signed-off-by: Dong Gang <dong.gang@daocloud.io>
4 years ago
Dmitry Chepurovskiy
266c74f390
Move selector filtering after latest release version filtering
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
4 years ago
Dmitry Chepurovskiy
2ea8f805b9
Added testing for list action with selector
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
4 years ago
Dmitry Chepurovskiy
6d60d26913
Added notice about supported backends
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
4 years ago
Dmitry Chepurovskiy
09172b468a
Fix linting issues
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
4 years ago
Dmitry Chepurovskiy
357a0785bc
Added selector filtering
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
4 years ago
Dmitry Chepurovskiy
99bd709530
Pass labels from secret/configmap to release object
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
4 years ago
Dmitry Chepurovskiy
edc7d8ea32
Added selector option to list command
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
4 years ago
Martin Hickey
579c01fad0
Merge pull request #8544 from technosophos/fix/repo-add-test-use-cache
...
fix test that modifies the wrong cache data
4 years ago
Matt Butcher
131510aa94
fix test that modifies the wrong cache data
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Martin Hickey
2a69fb7566
Merge pull request #8542 from dellkeji/fix_validateNumColons_docs
...
bufix: fix validateNumColons docs
4 years ago
bellkeyang
fbc32aea3d
bufix: fix validateNumColons docs
...
Signed-off-by: bellkeyang <bellkeyang@tencent.com>
4 years ago
Martin Hickey
4f72dfcffe
Merge pull request #8541 from hickeyma/fix/typo
...
Fix: typo
4 years ago
Martin Hickey
4cc19d1d82
Fix typo
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
4 years ago
Ma Xinjian
8bb0413552
darwin-386 and windows-386 are not supported now
...
$ curl https://get.helm.sh/helm-v3.2.4-windows-386.tar.gz
<?xml version="1.0"
ding="utf-8"?><Error><Code>BlobNotFound</Code><Message>The specified
does not exist.
RequestId:6d53f961-d01e-0032-025f-5e4d79000000
$ curl https://get.helm.sh/helm-v2.16.9-darwin-386.tar.gz
<?xml version="1.0"
ding="utf-8"?><Error><Code>BlobNotFound</Code><Message>The specified
does not exist.
RequestId:81020fad-c01e-0001-0e60-5e12d2000000
Signed-off-by: Ma Xinjian <maxj.fnst@cn.fujitsu.com>
4 years ago
Martin Hickey
37661a8089
Merge pull request #8282 from andrewmelis/list-history-filter
...
Make helm ls return only current releases if providing state filter
4 years ago