Marcin Chojnacki
8814bfb490
Fixing release labelling in rollback
...
1. Fixed propagating labels to rollback release
Signed-off-by: Marcin Chojnacki <marcin.chojnacki@nokia.com>
3 years ago
ithrael
ee1cbed608
remove blank
...
Signed-off-by: ithrael <wh01096045@gmail.com>
3 years ago
ithrael
0eb3df676c
add blank
...
Signed-off-by: ithrael <wh01096045@gmail.com>
3 years ago
ithrael
0688046df6
add rollback unit test
...
Signed-off-by: ithrael <wh01096045@gmail.com>
3 years ago
zh168654
957d2a2bf9
add wait-for-jobs flag
...
Signed-off-by: zh168654 <zhangye.168@163.com>
6 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>
6 years ago
Marc Khouzam
05beedd671
feat(comp): Complete revision for rollback command
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
6 years ago
Matt Farina
9bc7934f35
Updating the module for v3 as the major version
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
7 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>
7 years ago
Adam Reese
b97f881be0
ref(*): use time.Duration for timeouts
...
Signed-off-by: Adam Reese <adam@reese.io>
8 years ago
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
...
Signed-off-by: Adam Reese <adam@reese.io>
8 years ago
Matthew Fisher
2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
8 years ago
Adam Reese
4f26b658d8
change copyright to "Copyright The Helm Authors"
8 years ago
Adam Reese
a02a598c33
ref(tests): simplify cmd test setup/teardown
...
Ensure proper cleanup of `HELM_HOME` and `HELM_DEBUG`
9 years ago
Adam Reese
75c4df0b56
ref(tests): use golden files for testing command output
9 years ago
Adam Reese
a5b7cde9e5
ref(cmd): simplify cmd test setup
9 years ago
Michelle Noorali
8a99a4aa6f
ref(helm): rename FakeReleaseClient -> FakeClient
9 years ago
Michelle Noorali
70520efac4
ref(helm): make FakeReleaseClient public
...
so it can be used by other projects that
use the helm client
9 years ago
Taylor Thomas
7ef9bb6f71
feat(*): Add --wait flag
...
Adds `--wait` flag to helm that waits for all pods to reach a ready
state, PVCs to be bound, and services to have IP addresses
Closes #1805
10 years ago
Taylor Thomas
774789c79a
feat(*): Adds support for timeout flag
...
Installs, rollback, upgrade, and delete now accept a `--timeout` flag
that allows the user to specify the maximum number of seconds that
any kubernetes command can take.
Closes #1678
10 years ago
fibonacci1729
0daf3e476d
fix(1357): print help text if revision is not specified
10 years ago
Adam Reese
5a5a44ec17
feat(*): add rollback to a release version
...
closes #1244
10 years ago
Michelle Noorali
ac88aaf218
feat(*): add helm rollback functionality
...
This feature allows you to rollback release to the
previous version of release.
resolves #1004
10 years ago
Michelle Noorali
a124b4f56f
feat(helm): add rollback cmd
10 years ago