weave-gitops icon indicating copy to clipboard operation
weave-gitops copied to clipboard

Feature Request - Support for self hosted Git servers

Open steveww opened this issue 2 years ago • 3 comments

Gitlab can be run onsite. As such it may have an unusual URL e.g. https://src.acme.net:8443/ ssh://[email protected]:2222/

Weave GitOps should be able to handle this through the full life cycle. At the moment it gets confused and tries to contact the public cloud for authorisation. There is an undocumented switch --git-host-types to tell it what type of repo it is. This should be clearly documented, perhaps a separate section on privately hosted Git servers.

steveww avatar Feb 07 '22 16:02 steveww

Self hosted Gitlab may use a self signed certificate. This certificate needs to have -addext "subjectAltName = DNS:host entry. However, gitops install still fails with certificate signed by unknown authority. There should be an additional switch to ignore this condition like curl -k.

steveww avatar Feb 09 '22 10:02 steveww

Got around the CA by installing my own. However, gitops gets really confused when things are not on the normal ports. It tries to connect to SSH on the HTTPS ports or tries to connect to HTTPS on the SSH port. The logic is a bit screwed here.

steveww avatar Feb 09 '22 12:02 steveww

Are self hosted Gitlab servers supported at this point?

davidberglund avatar May 23 '22 06:05 davidberglund

gitops install was deprecated. Closing

JamWils avatar Sep 15 '22 13:09 JamWils