You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by cl...@apache.org on 2023/05/02 20:30:53 UTC

[camel-k] branch main updated: fix: Add max running builds CLI option (#4291)

This is an automated email from the ASF dual-hosted git repository.

claudio4j pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new 7b7faa74a fix: Add max running builds CLI option (#4291)
7b7faa74a is described below

commit 7b7faa74a277985e8ec8e0f07c6bcaf22f631d5a
Author: Christoph Deppisch <cd...@redhat.com>
AuthorDate: Tue May 2 22:30:47 2023 +0200

    fix: Add max running builds CLI option (#4291)
    
    - Add option to CLI install command to set max running builds setting
---
 pkg/cmd/install.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pkg/cmd/install.go b/pkg/cmd/install.go
index 5303c1945..616f0ec6f 100644
--- a/pkg/cmd/install.go
+++ b/pkg/cmd/install.go
@@ -149,6 +149,7 @@ func newCmdInstall(rootCmdOptions *RootCmdOptions) (*cobra.Command, *installCmdO
 	cmd.Flags().StringArray("operator-resources", nil, "Define the resources requests and limits assigned to the operator Pod as <requestType.requestResource=value> (i.e., limits.memory=256Mi)")
 	cmd.Flags().StringArray("operator-env-vars", nil, "Add an environment variable to set in the operator Pod(s), as <name=value>")
 	cmd.Flags().StringP("log-level", "z", "info", "The level of operator logging (default - info): info or 0, debug or 1")
+	cmd.Flags().Int("max-running-builds", 0, "Maximum number of parallel running builds")
 
 	// save
 	cmd.Flags().Bool("save", false, "Save the install parameters into the default kamel configuration file (kamel-config.yaml)")