drblack666 opened a new issue, #1347: URL: https://github.com/apache/camel-karavan/issues/1347
### Describe the bug I tried to upgrade karavan from **4.5.1** to **4.7.0** in my k8s cluster and got an error. For some reason it uses gitea instead of my gitlab url. In pod logs: ``` INFO [org.apa.cam.kar.ser.GitService] (main) Error connecting git: http://gitea:3000/karavan/karavan.git: cannot open git-upload-pack ``` The environment variable `karavan.git.repository` set up correctly: ``` root@karavan-8d998b4b6-gmh7b:/# env | grep git karavan.git.repository=https://gitlab.<my_domain>.com ``` Downgrade to **4.6.0** or **4.5.1** fixed this problem ### Steps to reproduce the behavior Use custom `karavan.git.repository` and create kubernetes deployment with karavan version **4.7.0** ### Variant Web Application ### Container Management (if applicable) Kubernetes ### Operating System (if applicable) None ### Version 4.7.0 ### Relevant log output ```shell 2024-08-02 13:11:35,095 INFO [org.apa.cam.kar.kub.KubernetesStatusService] (main) Status Listeners: starting... 2024-08-02 13:11:35,096 INFO [org.apa.cam.kar.kub.KubernetesStatusService] (main) Stop Kubernetes Informers 2024-08-02 13:11:35,097 INFO [org.apa.cam.kar.kub.KubernetesStatusService] (main) Starting Kubernetes Informers 2024-08-02 13:11:36,184 INFO [org.apa.cam.kar.kub.KubernetesStatusService] (main) Started Kubernetes Informers 2024-08-02 13:11:36,184 INFO [org.apa.cam.kar.kub.KubernetesStatusService] (main) Status Listeners: started 2024-08-02 13:11:36,188 INFO [org.apa.cam.kar.KaravanStartupLoader] (main) Starting karavan in dev env in Kubernetes 2024-08-02 13:11:36,188 INFO [org.apa.cam.kar.KaravanStartupLoader] (main) Projects loading... 2024-08-02 13:11:36,189 INFO [org.apa.cam.kar.ser.GitService] (main) Check git 2024-08-02 13:11:36,194 INFO [org.apa.cam.kar.ser.GitService] (main) Set UsernamePasswordCredentialsProvider 2024-08-02 13:11:39,357 INFO [org.apa.cam.kar.ser.GitService] (main) Error connecting git: http://gitea:3000/karavan/karavan.git: cannot open git-upload-pack 2024-08-02 13:11:39,357 INFO [org.apa.cam.kar.KaravanStartupLoader] (main) Starting Project service: git is ready ``` -- 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]
