argoproj-labs / argocd-image-updater

Automatic container image update for Argo CD
https://argocd-image-updater.readthedocs.io/en/stable/
Apache License 2.0
1.25k stars 258 forks source link

Re-use certificate information from Argo CD #346

Open BeyerJC opened 2 years ago

BeyerJC commented 2 years ago

Is your feature request related to a problem? Please describe.

My problem is the same as described in this issue #190 The fix there was to mount the known_hosts into the image updater. But when not using ssh , the image updater has an error when trying to write back to git because of my self signed certificate. In Argo it is working fine and the certificate is added there.

git fetch origin --tags --force` failed exit status 128: fatal: unable to access 'https://bitbucket.***.de/scm/helm/my-service-helm.git/': SSL certificate problem: self signed certificate in certificate chain" execID=7BZ7L  

Describe the solution you'd like A solution could be to reuse the argocd-tls-certs-cm if thats possible.

Describe alternatives you've considered Unfortunatly I dont have any. I did not find anything about that in the documentation.

jannfis commented 2 years ago

Yep, I agree. This would be a good feature to have.

mFranz82 commented 1 year ago

Is there any workaround yet? It looks to me that one needs to rebuild the image if custom certificates are required. Am I right?

zekena2 commented 1 month ago

Any updates?