Skip to content

enable detect-minikube by default. #5154

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

Merged
merged 1 commit into from
Dec 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/skaffold/app/cmd/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ var flagRegistry = []Flag{
Name: "detect-minikube",
Usage: "Use heuristics to detect a minikube cluster",
Value: &opts.DetectMinikube,
DefValue: false,
DefValue: true,
FlagAddMethod: "BoolVar",
DefinedOn: []string{"build", "debug", "delete", "deploy", "dev", "run"},
IsEnum: true,
Expand Down
12 changes: 6 additions & 6 deletions docs/content/en/docs/references/cli/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Options:
--cache-file='': Specify the location of the cache file (default $HOME/.skaffold/cache)
-c, --config='': File for global configurations (defaults to $HOME/.skaffold/config)
-d, --default-repo='': Default repository value (overrides global config)
--detect-minikube=false: Use heuristics to detect a minikube cluster
--detect-minikube=true: Use heuristics to detect a minikube cluster
--dry-run=false: Don't build images, just compute the tag for each artifact.
--enable-rpc=false: Enable gRPC for exposing Skaffold events (true by default for `skaffold dev`)
--event-log-file='': Save Skaffold events to the provided file after skaffold has finished executing, requires --enable-rpc=true
Expand Down Expand Up @@ -345,7 +345,7 @@ Options:
--cleanup=true: Delete deployments after dev or debug mode is interrupted
-c, --config='': File for global configurations (defaults to $HOME/.skaffold/config)
-d, --default-repo='': Default repository value (overrides global config)
--detect-minikube=false: Use heuristics to detect a minikube cluster
--detect-minikube=true: Use heuristics to detect a minikube cluster
--enable-rpc=false: Enable gRPC for exposing Skaffold events (true by default for `skaffold dev`)
--event-log-file='': Save Skaffold events to the provided file after skaffold has finished executing, requires --enable-rpc=true
-f, --filename='skaffold.yaml': Path or URL to the Skaffold config file
Expand Down Expand Up @@ -429,7 +429,7 @@ Delete the deployed application
Options:
-c, --config='': File for global configurations (defaults to $HOME/.skaffold/config)
-d, --default-repo='': Default repository value (overrides global config)
--detect-minikube=false: Use heuristics to detect a minikube cluster
--detect-minikube=true: Use heuristics to detect a minikube cluster
-f, --filename='skaffold.yaml': Path or URL to the Skaffold config file
--kube-context='': Deploy to this Kubernetes context
--kubeconfig='': Path to the kubeconfig file to use for CLI requests.
Expand Down Expand Up @@ -480,7 +480,7 @@ Options:
-a, --build-artifacts=: File containing build result from a previous 'skaffold build --file-output'
-c, --config='': File for global configurations (defaults to $HOME/.skaffold/config)
-d, --default-repo='': Default repository value (overrides global config)
--detect-minikube=false: Use heuristics to detect a minikube cluster
--detect-minikube=true: Use heuristics to detect a minikube cluster
--enable-rpc=false: Enable gRPC for exposing Skaffold events (true by default for `skaffold dev`)
--event-log-file='': Save Skaffold events to the provided file after skaffold has finished executing, requires --enable-rpc=true
-f, --filename='skaffold.yaml': Path or URL to the Skaffold config file
Expand Down Expand Up @@ -555,7 +555,7 @@ Options:
--cleanup=true: Delete deployments after dev or debug mode is interrupted
-c, --config='': File for global configurations (defaults to $HOME/.skaffold/config)
-d, --default-repo='': Default repository value (overrides global config)
--detect-minikube=false: Use heuristics to detect a minikube cluster
--detect-minikube=true: Use heuristics to detect a minikube cluster
--enable-rpc=false: Enable gRPC for exposing Skaffold events (true by default for `skaffold dev`)
--event-log-file='': Save Skaffold events to the provided file after skaffold has finished executing, requires --enable-rpc=true
-f, --filename='skaffold.yaml': Path or URL to the Skaffold config file
Expand Down Expand Up @@ -818,7 +818,7 @@ Options:
--cleanup=true: Delete deployments after dev or debug mode is interrupted
-c, --config='': File for global configurations (defaults to $HOME/.skaffold/config)
-d, --default-repo='': Default repository value (overrides global config)
--detect-minikube=false: Use heuristics to detect a minikube cluster
--detect-minikube=true: Use heuristics to detect a minikube cluster
--enable-rpc=false: Enable gRPC for exposing Skaffold events (true by default for `skaffold dev`)
--event-log-file='': Save Skaffold events to the provided file after skaffold has finished executing, requires --enable-rpc=true
-f, --filename='skaffold.yaml': Path or URL to the Skaffold config file
Expand Down