Matt Farina
bfb6bb7af9
Merge pull request #9381 from joelanford/darwin-arm64
...
Add darwin/arm64 (Apple Silicon) support
4 years ago
Martin Hickey
3e31983a37
Merge pull request #8559 from zsuzhengdu/f/improve-console-output-for-resource-policy-keep
...
Improve the console output for resource policy keep to align with helm2.
4 years ago
Joe Lanford
f57c01cd93
update test expectation for new template error string
...
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
4 years ago
Josh Dolitsky
0b2fec08ac
Upgrade to oras v0.9.0 ( #9269 )
...
* Upgrade to oras v0.9.0
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
* fix test-style
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Guangwen Feng
fee2257e34
Fix typo in comment
...
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
4 years ago
Matt Farina
49f895db6b
Merge pull request #8843 from bloodorangeio/oci-pull
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Daniel Lipovetsky
1da2212a9d
Add explanatory comments to action.List and action.History
...
While the comments may seem to state the obvious to someone with helm CLI
experience, an SDK-first user may find these comments helpful.
Signed-off-by: Daniel Lipovetsky <dlipovetsky@d2iq.com>
4 years ago
Martin Hickey
ba9cad9379
Merge pull request #8484 from chriswells0/subset
...
feat: Allow helm test to run a subset of tests
4 years ago
Matt Farina
f5ef87b96e
Merge pull request #8363 from zh168654/master
...
helm upgrade with --wait support jobs in manifest to be completed
4 years ago
Matt Farina
fb0345a07f
Updating to sprig 3.2.0
...
Note, randInt is now a function in sprig so the failing test needed
to be updated to a function that does not exist.
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Peter Engelbert
f666fceb30
Remove OCI boolean from struct
...
Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
4 years ago
Peter Engelbert
3028c55858
Clean up imports and add doc comments
...
Additionally, revert `NewPull()` to its existing signature.
Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
4 years ago
Peter Engelbert
3ad08f3ea9
Implement `helm pull` for OCI registries
...
* Implement `helm dep update` for oci dependencies
* New unit tests
* Remove `helm chart pull` command
* New `helm pull` does not depend on registry cache
Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
4 years ago
zh168654
bfc575dec2
add waitwithjobs instead of changing wait api
...
Signed-off-by: zh168654 <zhangye.168@163.com>
4 years ago
zh168654
957d2a2bf9
add wait-for-jobs flag
...
Signed-off-by: zh168654 <zhangye.168@163.com>
4 years ago
Chris Wells
2a7a98ae5a
feat: Allow helm test to run a subset of tests
...
Signed-off-by: Chris Wells <chriswells0@users.noreply.github.com>
4 years ago
wawa0210
2c19838295
Fix that the invalid version number of the helm package command will escape
...
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
4 years ago
Du Zheng
87040536fb
Improve the console output for resource policy keep to align with helm2.
...
Signed-off-by: Du Zheng <zsuzhengdu@gmail.com>
4 years ago
Matt Farina
75b7aeaeeb
Merge pull request #7024 from jan25/issue-6972
...
v3: Prettify Updated time in helm list
4 years ago
Matt Butcher
fe2d7f7792
this rewrites a whole bunch of old repo URLs to the new repo URL ( #8902 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Mikuláš Dítě
6aa54eacc5
feat(install): add requested version to error
...
Signed-off-by: Mikuláš Dítě <dite@mangoweb.cz>
4 years ago
Matt Farina
b7c38c879a
Adding support for k8s 1.19
...
Closes #8806
Signed-off-by: Matt Farina <matt@mattfarina.com>
4 years ago
Abhilash Gnan
c5e9732a9f
rename to time format flag
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
4 years ago
Abhilash Gnan
f61332f379
add time-format flag to list command
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
4 years ago
Sebastian Sdorra
467bd49bb0
support passing signing passphrase from file or stdin ( #8394 )
...
Signed-off-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
4 years ago
Matt Farina
b5daf5a484
Merge pull request #8753 from technosophos/fix/dependency-status
...
handle case where dependency name collisions break dependency resolution
4 years ago
Matt Butcher
40b7800287
handle case where dependency name collisions break dependency resolution
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Matt Butcher
ed5fba5142
refactor the release name validation to be consistent across Helm
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Matthew Fisher
55fbd985dd
Merge pull request #8707 from zhijianli88/cleanup-tempfiles
...
Cleanup tempfiles
4 years ago
Matthew Fisher
dafeb1541b
Merge pull request #8493 from yxxhero/fix-insecure-skip-tls-verify-flag-not-work-on-helm-install
...
fix insecure-skip-tls-verify flag does't work on helm install
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
e454e6a910
Merge pull request #8682 from liuming-dev/remove-duplicate-variable-definition
...
Remove duplicate variable definition
4 years ago
Martin Hickey
2a9ef6d3b0
Merge pull request #8529 from lingsamuel/status-show-desc
...
feat: add flag `--show-desc` to display description for `helm status`
4 years ago
Ling Samuel
da6878dc0f
feat: status command display description
...
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
4 years ago
Liu Ming
317616482c
Remove duplicate variable definition
...
Variable values `helm.sh/resource-policy` and `keep` are duplicately
defined in resource_policy.go (`resourcePolicyAnno` `keepPolicy`) and
resource_policy.go (`ResourcePolicyAnno` `KeepPolicy`), remove the
varibales in resource_policy.go to keep the code clean.
Signed-off-by: Liu Ming <hit_oak_tree@126.com>
4 years ago
Matt Butcher
96d9ab9663
fix name length check on lint ( #8543 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
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>
5 years ago
Manuel Rüger
4abcdc40ef
pkg/*: Small linting fixes
...
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
5 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
5 years ago
Martin Hickey
a5047b2f6c
Merge pull request #8438 from donggangcj/feature/support-jsonpath
...
feature(show): support jsonpath output for `helm show value`
5 years ago
Dong Gang
df4708a9de
polish the error handler
...
Signed-off-by: Dong Gang <dong.gang@daocloud.io>
5 years ago
Dmitry Chepurovskiy
266c74f390
Move selector filtering after latest release version filtering
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
5 years ago
Dmitry Chepurovskiy
2ea8f805b9
Added testing for list action with selector
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
5 years ago
Dmitry Chepurovskiy
09172b468a
Fix linting issues
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
5 years ago
Dmitry Chepurovskiy
357a0785bc
Added selector filtering
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
5 years ago
Dmitry Chepurovskiy
edc7d8ea32
Added selector option to list command
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
5 years ago
Martin Hickey
4cc19d1d82
Fix typo
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 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
5 years ago
Matt Farina
44212f83dc
Fix issue with install and upgrade running all hooks
...
When #8156 was merged it had the side effect that all hooks were
run all the time. All the hooks were put in the flow of the
content rendered and sent to Kubernetes on every command.
For example, if you ran the following 2 commands the test hooks
would run:
helm create foo
helm install foo ./foo
This should not run any hooks. But, the generated test hook is run.
The change in this commit moves the writing of the hooks to output
or disk back into the template command rather than in a private
function within the actions. This is where it was for v3.2.
One side effect is that post renderers will not work on hooks. This
was the case in v3.2. Since this bug is blocking the release of v3.3.0
it is being rolled back. A refactor effort is underway for this section
of code. post renderer for hooks should be added back as part of that
work. Since post renderer hooks did not make it into a release it
is ok to roll it back for now.
There is code in the cmd/helm package that has been duplicated from
pkg/action. This is a temporary measure to fix the immediate bug
with plans to correct the situation as part of a refactor
of renderResources.
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Andrew Melis
f9d35242d0
Enhance readability by extracting bitwise operation
...
Fixes https://github.com/helm/helm/pull/8282#discussion_r458368780
Signed-off-by: Andrew Melis <andrewmelis@gmail.com>
5 years ago