t33muki commented on issue #1347:
URL: https://github.com/apache/camel-karavan/issues/1347#issuecomment-2324219749

   > change the default branch of your repo to "main" and the pushes may work
   
   Thanks, our default is main. Problem is that our specific branches get 
ignored. 
   We deploy Karavans dynamically to different namespaces and use our 'main' 
branch as a base. 
   Pipeline creates - say- 'test1' branch and adjusts Karavan secrets 
accordingly and deploys it to cluster. The KARAVAN_GIT_BRANCH secret now 
correctly contains 'test1' on the deployed Karavan - **but** the UI shows 
projects from the 'main' branch. 
   On 4.6.0 the branches work as intended and ui shows contents of the correct 
branch.
   
   When I compared the versions 4.6.0 and 4.7.0 of
   `karavan-app/src/main/java/org/apache/camel/karavan/service/GitService.java `
   I noticed the branch handling of the **getGit**-method had changed quite a 
bit - I unfortunately don't have the knowledge or the tools to debug it further.
   


-- 
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-unsubscr...@camel.apache.org

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

Reply via email to