GoogleContainerTools/skaffold

Allow default dev cleanup mode to be set in skaffold.yaml

Open

#4,268 opened on May 27, 2020

View on GitHub
 (7 comments) (1 reaction) (0 assignees)Go (1,416 forks)batch import
area/configfixithelp wantedkind/feature-requestpriority/p3

Repository metrics

Stars
 (12,822 stars)
PR merge metrics
 (Avg merge 1d 18h) (18 merged PRs in 30d)

Description

Currently skaffold dev defaults to cleanup=true.

There are occasions when I'd like to modify this behavior for all users of a specific project profile. The simplest way to do that would be a cleanup setting in skaffold.yaml.

The CLI flag would still override the setting in skaffold.yaml.

After discussion in office hours, we determined this feature might be useful but could be confusing for some use cases. Open to discussion as always :-)

Original Question: https://groups.google.com/forum/#!topic/skaffold-users/rqzKmFI-qaM

Contributor guide