GoogleContainerTools/skaffold

Skaffold file output flags are inconsistent

Open

#3150 opened on Nov 1, 2019

View on GitHub
 (3 comments) (1 reaction) (1 assignee)Go (12,822 stars) (1,416 forks)batch import
area/cliarea/uxfixithelp wantedjuly-chillkind/feature-requestpriority/p2

Description

Skaffold supports writing a few different run results to files for use in other commands or k8s-related processes. However, these files all have different flag names, making it difficult to know which one to use for which command.

writing the built artifact results from skaffold build - --file-output consuming this generated file in skaffold deploy - --artifacts, or -a outputting templated manifests from skaffold render - --output, or -o

We should decide on a common flag name and just use that everywhere, or at least for build and render where the flag is actually specifying an output.

Contributor guide