You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
helm completion does not auto-complete releases or charts #3170
helm completion does not auto-complete releases or charts:
# Releases
$ helm ls
NAME REVISION UPDATED STATUS CHART NAMESPACE
smelly-newt 3 Mon Nov 20 11:41:29 2017 DEPLOYED rabbitmq-0.6.10 dev
$ helm history<TAB># suggests local files instead of existing releases# Charts
$ helm charts <TAB># suggests local files only, could also suggest charts from repositories
As an example, kubectl has auto-completion on remote resources, and it's really much more useful than what helm has.
Reacted by Yngvar Kristiansen, Cory Klein and Eric Schoen
For what it's worth, I also anticipated the completion to be more like kubectl and autocomplete a release name/chart name. The local file thing was unexpected.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
@Vickey-Wu yes there is a minimal bash auto-completion support in helm, but it does not dynamically auto-completes releases names and such like kubectl does.
I checked the new helm 2.10 version, as well as the changelog, commits and code: there is nothing new: the feature is still missing.
Bash autocompletion is a feature of spf13/cobra which we turned on but I don't think anyone from the core maintainers use it, so someone from the community more familiar with bash autocompletion would be more suited to the task than we would, quite honestly.
I've looked into how this is done in kubectl and it goes beyond my level of area expertise. I am 🤞 that somebody that has the matching cross section of skills between shell completion and the tools behind the helm/kubectl CLIs comes across this issue.
Activity
particledecay commentedon Nov 28, 2017
For what it's worth, I also anticipated the completion to be more like
kubectland autocomplete a release name/chart name. The local file thing was unexpected.fejta-bot commentedon Feb 26, 2018
Issues go stale after 90d of inactivity.
Mark the issue as fresh with
/remove-lifecycle stale.Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with
/close.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
thomas-riccardi commentedon Feb 28, 2018
/remove-lifecycle stale
The feature is still missing as far as I know.
fejta-bot commentedon May 29, 2018
Issues go stale after 90d of inactivity.
Mark the issue as fresh with
/remove-lifecycle stale.Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with
/close.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
thomas-riccardi commentedon May 29, 2018
/remove-lifecycle stale
/lifecycle frozen
Vickey-Wu commentedon Aug 22, 2018
helm docs
thomas-riccardi commentedon Aug 22, 2018
@Vickey-Wu yes there is a minimal bash auto-completion support in helm, but it does not dynamically auto-completes releases names and such like
kubectldoes.I checked the new helm 2.10 version, as well as the changelog, commits and code: there is nothing new: the feature is still missing.
bacongobbler commentedon Aug 22, 2018
Feel like working on a fix? :)
Bash autocompletion is a feature of spf13/cobra which we turned on but I don't think anyone from the core maintainers use it, so someone from the community more familiar with bash autocompletion would be more suited to the task than we would, quite honestly.
cory-klein commentedon Oct 18, 2018
I've looked into how this is done in
kubectland it goes beyond my level of area expertise. I am 🤞 that somebody that has the matching cross section of skills between shell completion and the tools behind thehelm/kubectlCLIs comes across this issue.marckhouzam commentedon Jul 30, 2019
The completion of releases has been done in #5562 for v2 (part of helm 2.15.0) and by #5829 for v3.
Still more dynamic completions can be added, such as charts, as suggested in this issue.
marckhouzam commentedon Oct 22, 2019
The completion of charts has been implemented in #6730 for Helm 3.
The two dynamic completions requested in this issue will be part of helm 3 so I feel this issue can be closed.
cc @bacongobbler
bacongobbler commentedon Oct 22, 2019
thanks @marckhouzam for the ping!