You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/01/22 19:24:37 UTC

[GitHub] [camel-k] weimeilin79 commented on issue #1222: knative channel consumer stuck in running state

weimeilin79 commented on issue #1222: knative channel consumer stuck in running state
URL: https://github.com/apache/camel-k/issues/1222#issuecomment-577345008
 
 
   The problem was cause by knative serving controller needs access the container registry to resolve image tags when a revision is created. But with self-signed certs, it's going to have a problem with handshake. 
   
   ```
   message: 'Revision "test-reply-lb2bf" failed with message: Unable to fetch image
         "image-registry.openshift-image-registry.svc:5000/anewusecase/camel-k-kit-bok6uok6kp33jl2vtg9g:678755":
         Get https://image-registry.openshift-image-registry.svc:5000/v2/: x509: certificate
         signed by unknown authority.'
   ``` 
   
   We need to manually skip it. 
   please update the configmap by executing following command.  And manually restart the serving controller. 
   
   ```
   oc patch cm config-deployment -p '{"data":{"registriesSkippingTagResolving":"image-registry.openshift-image-registry.svc:5000"}}' -n knative-serving
   
   ```
   
   And we are good to go.. 
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services