Hades-888 opened a new issue, #3455:
URL: https://github.com/apache/camel-k/issues/3455

   Hi Community,
   
   We are running into an issue when using local dependencies option ```-d 
file:///path/xxx.jar```  in ```--registry-insecure false``` mode on k8s, but it 
still logs ```(insecure=true)``` during pushing image and throws an error of 
unexpected status code 503 Service Unavailable. The same task works fine 
without using local dependencies.
   
   **VERSION**
   
   Camel K Client 1.9.2
   
   **Command to produce the Issue**
   
   kamel install command
   ```
   kamel install \
   --registry-insecure false \
   --registry xxx.com \
   --registry-auth-username xxx \
   --registry-auth-password xxx \
   --organization xxx \
   --maven-settings=configmap:maven-settings/settings.xml \
   --build-timeout 1h \
   --cluster-type kubernetes \
   --build-publish-strategy Spectrum \
   --force \
   -n xxx
   ```
   kamel run command
   ```
   kamel run xxx.java \
   -d file:///path/shopify-camel-k-1.0-SNAPSHOT.jar \
   -n xxx \
   --dev 
   ```
   **Error Log**
   
   **with** local dependencies option ```-d 
file:///path/shopify-camel-k-1.0-SNAPSHOT.jar``` 
   
   
![camel-insecure-true](https://user-images.githubusercontent.com/97818949/179456257-bcf59e89-fec3-4ebe-bce7-ddc5a0c09a0b.png)
   
   **without** local dependencies option ```-d 
file:///path/shopify-camel-k-1.0-SNAPSHOT.jar``` 
   
   
![camel-insecure-false](https://user-images.githubusercontent.com/97818949/179456415-00c562dc-fb54-4dcb-b98e-0e0d165bd6ee.png)
   
   **Expected Behavior**
   
   We want use local jar dependencies ```-d file:///path/xxx.jar```and the 
HTTPS protocol in registry config ```--registry-insecure false``` 
   
   Thanks


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to