nicolaferraro commented on a change in pull request #76: Context handling 
improvement
URL: https://github.com/apache/camel-k/pull/76#discussion_r217884929
 
 

 ##########
 File path: pkg/client/cmd/install.go
 ##########
 @@ -57,15 +59,21 @@ func (o *InstallCmdOptions) install(cmd *cobra.Command, 
args []string) error {
                return nil // TODO better error handling: if here we return err 
the help page is shown
        }
 
-       if o.ClusterSetupOnly {
+       if o.clusterSetupOnly {
                fmt.Println("Camel K cluster setup completed successfully")
        } else {
                namespace := o.Namespace
 
-               err = install.InstallOperator(namespace)
+               err = install.Operator(namespace)
                if err != nil {
                        return err
                }
+
+               err = install.PlatformContexts(namespace)
 
 Review comment:
   It's ok for now. Later with #73 it will be the operator to install those 
resources. Installation should be limited to the minimum set of dependencies 
(operator, crd and rbac).

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


With regards,
Apache Git Services

Reply via email to