devtron-labs / devtron

Tool integration platform for Kubernetes
https://devtron.ai
Apache License 2.0
4.38k stars 481 forks source link

Provide CA-Certificate for connecting to gitlab (on-premise) with own Certificate Authority. #1203

Open zenhighzer opened 2 years ago

zenhighzer commented 2 years ago

Hi there,

we installed devtron on kubernetes via helm-chart... after install we tried to "configure gitops" by adding our on-premise gitlab .. problem is that we have a private certificate authority for ssl, tls, etc.... when adding the host, username, personal access token the error is:

Devtron was unable to perform the following actions.
error in connecting with GITLAB: Get "https://gitlab.ourdomain.local/api/v4/groups/14": x509: certificate signed by unknown authority 

how can i add our ca-certificate to devtron? devtron-discord-channel asked me to open an issue on this.

thanks and best regards zen

AB#433

ouhzee commented 1 year ago

Hi, @zenhighzer have you found a workaround for this? Because I encounter the same problem with GitLab on-premise private cert connection

zenhighzer commented 1 year ago

Hi @adeqecil,

sorry, we didn´t tried to fix this issue.

But I would suggest to grep all images listed in the helm-charts, inject the certificates and push the images to a private registry and also modify the helm-charts for pulling images from private registry ... but for our team this is too much effort just for trying out devtron.. idk if there is maybe an option to provide certificates via. helm-chart, configmaps,secrets, etc., which would be cool

BR zen

thecloudgarage commented 1 year ago

Am facing the exact same issue, do you know if this is fixed to manually provide or ignore the SSL validation for GitOps Gitlab host