Adam Reese
b2d5e41fc7
ref(*): remove dead code
...
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Jacob LeGrone
047dd5911a
Fix make test
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Jacob LeGrone
08b2d8a2dc
Merge branch 'dev-v3' of https://github.com/helm/helm into test-as-hook
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
caa4240a30
refactor(release): track test executions via Hook type
...
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
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
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
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
29c343278e
feat(action): Refactors unit tests with better fakes
...
This also adds unit tests for the Atomic and Wait functionality
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Taylor Thomas
93d07c862d
feat(*): Adds back --atomic functionality to Helm 3
...
This does not include the cleanup on fail logic as that will be reintroduced
in a future PR
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Taylor Thomas
d031651c45
fix(pkg/action): Adds back in missing wait functionality
...
In my previous PR, I did not notice that the wait functionality had been completely removed
from the actions. This restores wait functionality to upgrade and rollback
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Martin Hickey
ed68cbda3c
Fix linter issues
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 years ago
Matthew Fisher
f1594e564a
Merge pull request #5824 from rokii/fix5792
...
fix issue that values are not applied while running upgrade cmd
6 years ago
rokii
897a79a57f
fix and add test cases
...
Signed-off-by: rokii <shangtaocn@gmail.com>
6 years ago
rokii
871b092f32
fix issue 5792
...
Signed-off-by: rokii <shangtaocn@gmail.com>
6 years ago
Torsten Walter
24578a6411
support --output-dir option for helm3 template
...
Signed-off-by: Torsten Walter <mail@torstenwalter.de>
6 years ago
Adam Reese
590bf10ab5
fix(pkg/action): add namespace to release options
...
ref: https://github.com/helm/helm/issues/5732
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
0338576fc5
ref(pkg/kube): cleanup kube client interface
...
* move the main interface to it's own file
* removed summarizeKeptManifests() which was the last place kube.Get()
was called
* when polling for hooks, use external types
* refactor out legacyschema
* refactor detecting selectors from object
* refactor creating test client
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
b97f881be0
ref(*): use time.Duration for timeouts
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
2dd4744d23
ref(pkg/kube): extract wait logic from install/update
...
This change adds a new method for waiting for kubernetes resources.
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
b8bced2649
fix(pkg/action): load clients after flags have been parsed ( #5681 )
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
295092cd7d
ref(pkg/action): refactoring dup code and linter fixes
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matthew Fisher
f185103b60
ref(action): move AddFlags functions back to cmd
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago