Matthew Fisher
bb042bf2fe
Merge pull request #6191 from bacongobbler/fix-6182
...
fix(action): return nil if no errors occurred
5 years ago
Matthew Fisher
6e7f5e64a0
fix(action): return nil if no errors occurred
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
fe952445bd
feat(cmd): put OCI commands behind a feature gate
...
This adds a new `gates` package used for interacting with feature gates. It also marks the OCI registry work as experimental, signalling to users that it is not a stable feature of Helm.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Vibhav Bobade
bc285826a5
Move KEYS from master to dev-v3
...
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
5 years ago
Adam Reese
affd77558f
Merge pull request #6183 from adamreese/fix/helmpath-win
...
fix(helmpath): fix syntax errors for windows tests
5 years ago
Adam Reese
4e625df328
fix(helmpath): fix syntax errors for windows tests
...
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Josh Dolitsky
cc5dece910
fix(chartutil): Ensure nested template dir on save ( #6177 )
...
If a templates/ dir of a chart contained a subdirectory,
for example "templates/tests/test-db.yaml", an error was
being thrown on export due to missing the "templates/test"
directory prior to saving the template file itself.
Fixes #5757
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
5 years ago
Matthew Fisher
ad9c0c440b
Merge pull request #6175 from thomastaylor312/fix/wait_panic
...
fix(kube): Fixes nil panic with stateful set waiting
5 years ago
Jacob LeGrone
4f6814afb5
refactor(hooks): replace hook execution Successful bool with HookPhase
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Jacob LeGrone
047dd5911a
Fix make test
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Taylor Thomas
b46d7fd527
fix(kube): Fixes nil panic with stateful set waiting
...
Sometimes the stateful set `rollingUpdate` field can be nil even when the
strategy is a rolling update
Fixes #6174
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Taylor Thomas
539bafa58b
Merge pull request #6173 from thomastaylor312/chore/wait_flag_help
...
chore(cmd): Updates --wait flag help
5 years ago
Taylor Thomas
e2522f9dfc
chore(cmd): Updates --wait flag help
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Martin Hickey
6bf5ef83c6
Merge pull request #6076 from ian-howell/fix/command-line-parsing
...
Fix a parsing issue with command line arguments
5 years ago
Jacob LeGrone
08b2d8a2dc
Merge branch 'dev-v3' of https://github.com/helm/helm into test-as-hook
5 years ago
Taylor Thomas
800c433646
Merge pull request #6168 from thomastaylor312/fix/version_comment
...
docs(chart): updates APIVersionV2 comment to reflect the proper name
5 years ago
Taylor Thomas
a749cf4c4e
docs(chart): updates APIVersionV2 comment to reflect the proper name
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Taylor Thomas
4778e2bef5
Merge pull request #6124 from bacongobbler/three-way-merge-patch
...
ref(client): use three-way merge patch strategy
5 years ago
Martin Hickey
a0f0d8b470
Merge pull request #6117 from hickeyma/upd-linter-v2
...
feat(chart): Update linting and checking for apiVersion v2
5 years ago
Adam Reese
2aee21730d
Merge pull request #6142 from joelanford/decouple-cli-vals
...
cmd/*,pkg/*: move ValueOptions and decouple from SDK
5 years ago
Matthew Fisher
8bdaf01988
Merge pull request #5443 from bacongobbler/xdg-dir
...
feat(cli): support XDG base directory specification
5 years ago
Joe Lanford
45f697b507
pkg/cli/values/options_test.go: re-add MergeValues test with mergeMaps
...
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
5 years ago
Matthew Fisher
186f6c512f
fix(plugin): add HELM_HOME back
...
This allows Helm 2 plugins that used HELM_HOME as a scratchpad to continue to work the same in Helm 3.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
c728611e5a
feat(cli): support XDG base directory specification
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
18ca0dd6c4
ref(client): use three-way merge patch strategy
...
Co-Signed-by: Taylor Thomas <taylor.thomas@microsoft.com>
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Martin Hickey
8f8b2c10e5
Remove the chart lock file as its v1 structure
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 years ago
Martin Hickey
4d47052395
Update linting and checking for apiVersion v1/v2
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 years ago
Jacob LeGrone
49987975a8
fix(test): wait for pods and record status
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Joe Lanford
8a4b70b1e3
review: move ValueOptions to SDK
...
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
5 years ago
Matthew Fisher
d360705c83
Merge pull request #6133 from bacongobbler/fixup-rollback-argument-logic
...
fix(rollback): fix revision argument not being handled
5 years ago
Joe Lanford
68ee30b48c
cmd/*,pkg/*: move ValueOptions to cmd package and decouple from SDK
...
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
5 years ago
Jacob LeGrone
5ab42504f1
Merge branch 'dev-v3' of https://github.com/helm/helm into test-as-hook
5 years ago
Taylor Thomas
0d8b30f46d
Merge pull request #6085 from thomastaylor312/ref/better_kube_client
...
ref(*): Refactors kube client to be a bit more friendly
5 years ago
Jacob LeGrone
7f532b4917
doc(hooks): note helm 2 test annotation support requirement
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Jacob LeGrone
caa4240a30
refactor(release): track test executions via Hook type
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Jacob LeGrone
97fe285ada
feat(client): wait for Pods during hook execution
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Jacob LeGrone
72127c391c
feat(test): define tests as Jobs and allow arbitrary supporting resources
...
This updates commands install, upgrade, delete, and test to share the
same implementation for hook execution.
BREAKING CHANGES:
- The `test-failure` hook annotation is removed.
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Matthew Fisher
533a369464
Merge pull request #6134 from karuppiah7890/fix-set-ignored-on-reuse-values
...
Fix values being ignored when reusing values on upgrade
5 years ago
Karuppiah Natarajan
6d02079016
Fix values being ignored when reusing values on upgrade
...
Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>
Co-authored-by: Nandhagopal Ezhilmaran <nandhagr8@gmail.com>
5 years ago
Matthew Fisher
d40ed3b5ad
fix(rollback): fix revision argument not being handled
...
The revision argument that was mandatory to `helm rollback` was being ignored.
The only way to roll back to an older revision was to run `helm rollback RELEASE <insert anything here> --version REVISION`.
This change respects that argument and removes the `--version` flag, which was redundant.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Martin Hickey
8f8d581149
Merge pull request #6119 from hickeyma/readd-circleci-teststyle
...
chore(*): Re-enable style conformance test in circleci build
5 years ago
Matthew Fisher
704ace3619
Merge pull request #6122 from ian-howell/fix/6101
...
fix(pkg/action): Allow name re-use for helm template
5 years ago
Ian Howell
ef46a0c1e7
fix(pkg/action): Allow name re-use for helm template
...
Signed-off-by: Ian Howell <ian.howell0@gmail.com>
5 years ago
Matthew Fisher
bef2a65cae
Merge pull request #6121 from karuppiah7890/allow-missing-trailing-slash
...
Allow missing trailing '/' in --repo url
5 years ago
Taylor Thomas
dd8222d7f2
Removes clientset method from interface in favor of the configuration struct
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Taylor Thomas
189b5a1229
Fixed object typing for watching Jobs/hooks
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Taylor Thomas
f6116a7ca9
Fixes issues with delete
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Taylor Thomas
15fc57f8a3
ref(*): Refactors kube client to be a bit more friendly
...
This changes most of the KubeClient interface to only ever build objects once and
then pass in everything as lists of resources. As a consequence, we needed to refactor
several of the actions. I took the opportunity to refactor out some duplicated
code while I was in the same area
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Taylor Thomas
1dac8421ef
ref(kube): Renames `Result` type to `ResourceList`
...
`Result` is a misnomer and is going to be repurposed in a future commit for a
common result type for the different kube `Interface` methods
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Karuppiah Natarajan
8d660a96a0
Allow missing trailing '/' in --repo url
...
Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>
Co-authored-by: Nandhagopal Ezhilmaran <nandhagr8@gmail.com>
5 years ago