Add --all-namespaces to docker stack ls command on Kubernetes orchestrator, to list all stacks in all namespaces.
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
This commit is contained in:
committed by
Mathieu Champlon
parent
65526a201f
commit
f097831eb3
@ -21,7 +21,7 @@ func RunDeploy(dockerCli *KubeCli, opts options.Deploy) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
stacks, err := composeClient.Stacks()
|
||||
stacks, err := composeClient.Stacks(false)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user