Replies: 1 comment
-
Just found out in the code it was implemented a mapping of the environment variables for builder, but not yet included in the 4.3.1. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I currently trying to make the karavan work inside one k8s cluster, using our own git and repos. I configured the secrets, so the karavan image can connect to git, and that works well. So, from karavan I can push code to our git. The problem we have now is that, when I click on the build button, the builder pod starts, but the git configuration is not passed through, and it does not know how to connect to git (it tries to go to gitea, which is the default). How could I configure the build process on kubernetes to get the git configuration?
From what I could figure it out from the code, when BUILD_DOCKER_CONFIG_SECRET is set, then it tries to mount a config.json to the builder pod. Does that mean, I need to write the environment variables for the builder into a config.json inside the project? And then to set the value to the BUILD_DOCKER_CONFIG_SECRET in the karavan pod?
Beta Was this translation helpful? Give feedback.
All reactions