You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "johnpoth (via GitHub)" <gi...@apache.org> on 2023/06/27 09:21:39 UTC

[GitHub] [camel-k] johnpoth commented on issue #4398: kamel run | custom dependencies | local files | K8S Cluster with GHCR

johnpoth commented on issue #4398:
URL: https://github.com/apache/camel-k/issues/4398#issuecomment-1609118732

   Hi @srikanthprathipati!
   
   It looks like you also have to be authenticated to pull from your organisation too. You can check that on your side by doing an HTTP get (add the full URL):
   
   ```
   wget ghcr.io//camelk-docker-packages/maven_org_apache_camel_k_external_i787982-enterprise-data-models_1_12_0_i787982-enterprise-data-models-1_12_0_pom
   ```
   
   You should get the same Unauthorized error. 
   
   If that is the case, you have to update your camel-k Maven settings with the correct credentials \[1\]. The server tags should look like this and needs to have **id**=image-registry:
   
   ```
   <server>
     <id>image-registry</id>
     <username>YOUR_USERNAME</username>
     <password>YOUR_PASSWORD</password>
   </server>
   ```
   
   If you want to encrypt your username and password you can use a Maven Security File \[2\]
   
   HTH !
   
   \[1\] https://camel.apache.org/camel-k/1.12.x/configuration/maven.html#maven-settings
   \[2\] https://camel.apache.org/camel-k/1.12.x/configuration/maven.html#maven-settings-security


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

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org