Controller is unable to clone from GitLab
Summary
Controller is unable to clone from GitLab to push changes in images. Potential issue with libgit2 package.
Steps to reproduce
Using self-hosted GitLab repo, define an ImageUpdateAutomation and other necessary flux custom resources.
What is the current bug behavior?
Unable to clone... unsupported URL protocol
What is the expected correct behavior?
Clone from checkout.ref.branch, commit and push updated image reference.
Relevant logs and/or screenshots
error ImageUpdateAutomation applications-update
Unable to clone 'ssh://git@git.my.org.domain.mil:2222/my.project/flux-cd.git', error: unsupported URL protocol
Possible fixes
libgit2 library issue? It looks like the FluxCD Dockerfile has been modified a bit recently and has had to use the unstable dependency version to make it all work.
Defintion of Done
-
Bug has been identified and corrected within the container
Edited by Jody Des Roches