asifdxtreme commented on a change in pull request #922: fix: Add option to 
disable Kaniko cache warming
URL: https://github.com/apache/camel-k/pull/922#discussion_r320863459
 
 

 ##########
 File path: pkg/cmd/install.go
 ##########
 @@ -74,6 +74,7 @@ func newCmdInstall(rootCmdOptions *RootCmdOptions) 
*cobra.Command {
        cmd.Flags().StringVar(&impl.buildStrategy, "build-strategy", "", "Set 
the build strategy")
        cmd.Flags().StringVar(&impl.buildTimeout, "build-timeout", "", "Set how 
long the build process can last")
        cmd.Flags().StringVar(&impl.traitProfile, "trait-profile", "", "The 
profile to use for traits")
+       cmd.Flags().BoolVar(&impl.cache, "cache", true, "To enable or disable 
the cache in building phase")
 
 Review comment:
   thanks for the review, I have updated it as per your suggestions

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to