List all helm releases (#1755)
On second thought, I'll accept your PR and will update the code to use `all` as I am getting ready for a new drop and would like to include your changes. Thanks Anthony!mine
parent
403cc63ddd
commit
bd677cc01b
|
|
@ -31,7 +31,18 @@ func (h *Helm) List(ctx context.Context, ns string) ([]runtime.Object, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
rr, err := action.NewList(cfg).Run()
|
|
||||||
|
// List all helm releases
|
||||||
|
client := action.NewList(cfg)
|
||||||
|
client.Uninstalled = true
|
||||||
|
client.Superseded = true
|
||||||
|
client.Uninstalling = true
|
||||||
|
client.Deployed = true
|
||||||
|
client.Failed = true
|
||||||
|
client.Pending = true
|
||||||
|
client.SetStateMask()
|
||||||
|
|
||||||
|
rr, err := client.Run()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue