Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SKAFFOLD_CMDLINE environment variable to pass command-line #4704

Merged
merged 1 commit into from
Aug 27, 2020

Conversation

briandealwis
Copy link
Member

Related: #2350

Description

This PR adds support for a new SKAFFOLD_CMDLINE environment variable. If found, Skaffold parses the value and treats it as the command-line. This allows running Skaffold with no arguments.

Helm 3.1 adds support for specifying a post-processor, a 0-argument command that may transform the rendered Kubernetes manifests just prior to be deployed. The debug support for Helm (coming soon) uses skaffold as the post-processor and uses SKAFFOLD_CMDLINE to set the command and arguments.

I think we can keep this as an internal feature.

@tejal29 tejal29 merged commit abdbe17 into GoogleContainerTools:master Aug 27, 2020
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.

3 participants