The Wayback Machine - https://web.archive.org/web/20260314082953/https://github.com/docker/cli/pull/831
Skip to content

Fix broken Kubernetes stack flags#831

Merged
thaJeztah merged 1 commit intodocker:masterfrom
silvin-lubecki:fix-kubernetes-flags
Jan 24, 2018
Merged

Fix broken Kubernetes stack flags#831
thaJeztah merged 1 commit intodocker:masterfrom
silvin-lubecki:fix-kubernetes-flags

Conversation

@silvin-lubecki
Copy link
Contributor

- What I did
I fixed the broken kubernetes stack flags namespace and kubeconfig.

- How I did it
I switched PersistentFlags to Flags while reading flags during the command run phase.

- How to verify it

  1. Deploy a kubernetes stack using default namespace
  2. docker stack ls --namespace myemptynamespace should print nothing

- Description for the changelog
Fix broken Kubernetes stack flags

- A picture of a cute animal (not mandatory but encouraged)
image

…to be defined in the "persistent space".

Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
@codecov-io
Copy link

codecov-io commented Jan 24, 2018

Codecov Report

Merging #831 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #831   +/-   ##
=======================================
  Coverage   52.95%   52.95%           
=======================================
  Files         244      244           
  Lines       15828    15828           
=======================================
  Hits         8382     8382           
  Misses       6892     6892           
  Partials      554      554

Copy link
Collaborator

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐯

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@thaJeztah thaJeztah merged commit f9039fe into docker:master Jan 24, 2018
@GordonTheTurtle GordonTheTurtle added this to the 18.02.0 milestone Jan 24, 2018
@silvin-lubecki silvin-lubecki deleted the fix-kubernetes-flags branch January 26, 2018 16:49
@thaJeztah thaJeztah modified the milestones: 18.02.0, 18.03.0 Jan 31, 2018
nobiit pushed a commit to nobidev/docker-cli that referenced this pull request Nov 19, 2025
Fix broken Kubernetes stack flags
Upstream-commit: f9039fe
Component: cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants