amitsadaphule commented on issue #1923:
URL: https://github.com/apache/camel-k/issues/1923#issuecomment-763717804


   @astefanutti I was able to get the catalogsource added to the local cluster 
for camel-k with the following yaml:
   
   ```
   apiVersion: operators.coreos.com/v1alpha1
   kind: CatalogSource
   metadata:
     name: camel-k-catalog
     namespace: openshift-marketplace
   spec:
     sourceType: grpc
     image: 
image-registry.openshift-image-registry.svc:5000/camelk/camel-k-catalog:1.3.0
     displayName: Camel K catalog
     publisher: Amit Sadaphule
   ```
   
   Logs:
   
   ```
   # oc create -f catalog-source.yaml
   catalogsource.operators.coreos.com/camel-k-catalog created
   # oc get catalogsources -A | grep camel
   openshift-marketplace   camel-k-catalog       Camel K catalog       grpc   
Amit Sadaphule   41m
   # oc get packagemanifest -A | grep camel
   openshift-marketplace   knative-camel-operator                               
Community Operators   21d
   openshift-marketplace   red-hat-camel-k                                      
Red Hat Operators     21d
   openshift-marketplace   camel-k                                              
Community Operators   21d
   openshift-marketplace   camel-k                                              
Camel K catalog       41m
   ```
   Also, when I executed `kamel install` for this new package, logs show as if 
everything is installed as expected. I also see the subscription being added. 
But the operator does not come up. Logs below:
   
   ```
   # ./kamel install --cluster-setup --olm-source=camel-k-catalog 
--olm-source-namespace=openshift-marketplace
   OLM is available in the cluster
   Camel K cluster setup completed successfully
   # ./kamel install --olm=true --olm-source=camel-k-catalog 
--olm-source-namespace=openshift-marketplace --force
   OLM is available in the cluster
   OLM resources are already available: skipping installation
   Camel K installed in namespace camelk via OLM subscription
   # oc get subscriptions -A | grep camel
   camelk      camel-k   camel-k   camel-k-catalog   stable
   # oc get all -A | grep camel
   openshift-marketplace                              pod/camel-k-catalog-wmqv8 
                                            1/1     Running     0          42m
   openshift-marketplace                              service/camel-k-catalog   
                         ClusterIP      172.30.176.6     <none>                 
                50051/TCP                      42m
   camelk      imagestream.image.openshift.io/camel-k                      
default-route-openshift-image-registry.apps.shivani-2-46.openshift.com/camelk/camel-k
                         1.3.0                                                  
  3 hours ago
   camelk      imagestream.image.openshift.io/camel-k-catalog              
default-route-openshift-image-registry.apps.shivani-2-46.openshift.com/camelk/camel-k-catalog
                 1.3.0                                                    About 
an hour ago
   ```
   I'm not sure what's going wrong here. Am I missing something obvious? Thanks 
in advance!


----------------------------------------------------------------
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


Reply via email to