Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.
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
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object VersionArgs extends CommandArgs
object GenerateDeploymentArgs {
val DockerRegistryUseHttpsDefault = true
val DockerRegistryValidateTlsDefault = true
val DockerRegistryUseLocalDefault = false
val DockerRegistryUseLocalDefault = true

/**
* Convenience method to set the [[GenerateDeploymentArgs]] values when parsing the complete user input.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,11 @@ object InputArgs {
.optional()
.action(GenerateDeploymentArgs.set((_, c) => c.copy(registryUseLocal = true))),

opt[Unit]("registry-disable-local") /* note: this argument will apply for other targets */
.text("Disables the local docker registry before the remote registry.")
.optional()
.action(GenerateDeploymentArgs.set((_, c) => c.copy(registryUseLocal = false))),

opt[String]("service-api-version")
.text(s"Sets the Service API version. Default: ${printFuture(KubernetesArgs.DefaultServiceApiVersion)}")
.optional()
Expand Down