Marc Khouzam
c92cc07c1b
ActiveHelp for cmds that don't take any more args
...
The result is that when doing shell completion (bash and zsh only),
instead of getting no suggestions for commands that take no more
arguments, the user will instead be shown an informative message:
$ helm list <TAB>
This command does not take any more arguments (but may accept flags).
Signed-off-by: Marc Khouzam <marc.khouzam@gmail.com>
1 year ago
Robert Sirchia
d58d7b3762
Fixing all the linting errors
...
Cleaned up all the linting errors we are getting.
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2 years ago
ithrael
e01731d83a
doc:Executing helm rollback release 0 will roll back to the previous release
...
Signed-off-by: ithrael <wh01096045@gmail.com>
2 years ago
Marc Khouzam
8854547d35
feat(comp): Uninstall accepts multiple releases
...
The 'uninstall' command can accept more than one release name as
arguments; this commit teaches the completion logic to respect this.
At the same time, the commit adds tests for the commands using the
modified code path.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
zh168654
957d2a2bf9
add wait-for-jobs flag
...
Signed-off-by: zh168654 <zhangye.168@163.com>
5 years ago
wawa0210
4be3804c50
Rollback command support for max history
...
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
5 years ago
Marc Khouzam
05beedd671
feat(comp): Complete revision for rollback command
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Marc Khouzam
88a3d6eaea
feat(comp): Move custom completions to Cobra 1.0
...
Cobra 1.0 introduces custom Go completions. This commit replaces Helm's
own solution to use Cobra's solution.
This allows to completely remove Helm's internal "completion" package.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Marc Khouzam
9240e78124
feat(comp): Dynamic completion of arguments in Go
...
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>
6 years ago
Taylor Thomas
17854e83af
feat(*): Ports `--cleanup-on-fail` to v3
...
This ports the functionality of cleanup on fail to v3 as introduced in #4871 . This has been tested manually
and would be a good candidate for a new acceptance test.
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
6 years ago
Adam Reese
b2d5e41fc7
ref(*): remove dead code
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Taylor Thomas
e2522f9dfc
chore(cmd): Updates --wait flag help
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
6 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>
6 years ago
Adam Reese
77a1b7e0a2
ref(*): expose klog flags
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
b960dea497
fix(cmd/helm): set 300s as default on timeout flags
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Adam Reese
b97f881be0
ref(*): use time.Duration for timeouts
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Matthew Fisher
f185103b60
ref(action): move AddFlags functions back to cmd
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Adam Reese
4f26b658d8
change copyright to "Copyright The Helm Authors"
7 years ago
Adam Reese
4cc3498608
ref(cmd): refactor argument validation
8 years ago
Adam Reese
726e3c41be
feat(*): print stacktrace on error with debug enabled
8 years ago
Adam Reese
57e288a88d
ref(cmd): consistent naming of cmd variables
8 years ago
Adam Reese
c30637b8a1
ref(cmd): remove Writer from Cmd options stucts
8 years ago
Adam Reese
341e6f4f45
feat(cmd): add --all-namespaces to list
8 years ago
Adam Reese
c5a76deba3
ref(*): use go conventions for naming types
8 years ago
Adam Reese
496ca54183
ref(*): bypass grpc for helm client
8 years ago
Matthew Fisher
a66a39a171
fix helm init --wait
8 years ago
Justin Scott
af4c243ee3
Correct punctuation and capitalization for user facing strings.
8 years ago
Adam Reese
d797acbd7b
fix(helm): fix race conditions in flag parsing
...
* fix a number of issues with flag parsing
* add support for `HELM_DEBUG`
* lazy expand flag default envars
9 years ago
peay
0f26cc5522
Add --force to upgrade and rollback
9 years ago
Kiichiro Okano
e3655bb142
Trigger deployment as success when new replicaSet has reached minimum you need which is number of replicas minus maxUnavailable
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
9 years ago
Matt Butcher
b51ad7a0e5
Merge pull request #1693 from thomastaylor312/feat/hook-timeout
...
feat(*): Adds support for timeout flag
9 years ago
Matt Butcher
a23672744e
fix(helm): fix rollback documentation
9 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
9 years ago
Nikolay Mahotkin
c2d45805f3
Renaming --recreate to --recreate-pods
9 years ago
Nikolay Mahotkin
24b17f8041
Rename '--restart' option to '--recreate'
9 years ago
Nikolay Mahotkin
1eaec045b2
Rename 'restart' to 'recreate'
9 years ago
Nikolay Mahotkin
ec0d104fe1
Reformatting changes
...
* Run gofmt on all changed files
so they formatted properly now
9 years ago
Nikolay Mahotkin
fdac5e8a39
Introducing flag for restarting pods during release upgrade/rollback
...
* Added pod restart for ReplicaSet
* Added --restart flag for helm CLI for upgrade/rollback commands
* By default, restart is false
9 years ago
fibonacci1729
0daf3e476d
fix(1357): print help text if revision is not specified
9 years ago
Jim
29d0c339b4
fix(helm): make 'helm help' text punctuation consistent
9 years ago
Adam Reese
5a5a44ec17
feat(*): add rollback to a release version
...
closes #1244
9 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
9 years ago
Michelle Noorali
e50f9e6b24
ref(helm): refactor checkArgsLength method
9 years ago
Michelle Noorali
a124b4f56f
feat(helm): add rollback cmd
9 years ago