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


With regards,
Apache Git Services

Reply via email to