Mujib 4 days ago committed by GitHub
commit 59a6d03557
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -300,11 +300,6 @@ func (l *List) filterSelector(releases []*release.Release, selector labels.Selec
// SetStateMask calculates the state mask based on parameters.
func (l *List) SetStateMask() {
if l.All {
l.StateMask = ListAll
return
}
state := ListStates(0)
if l.Deployed {
state |= ListDeployed

@ -134,7 +134,9 @@ func newListCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {
f.IntVar(&client.Offset, "offset", 0, "next release index in the list, used to offset from start value")
f.StringVarP(&client.Filter, "filter", "f", "", "a regular expression (Perl compatible). Any releases that match the expression will be included in the results")
f.StringVarP(&client.Selector, "selector", "l", "", "Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2). Works only for secret(default) and configmap storage backends.")
f.BoolVarP(&client.All, "all", "a", true, "show all releases without any filter applied")
bindOutputFlag(cmd, &outfmt)
f.MarkHidden("all")
return cmd
}

Loading…
Cancel
Save