Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better CA trust support for repo server #762

Open
davidkarlsen opened this issue Aug 8, 2024 · 0 comments
Open

better CA trust support for repo server #762

davidkarlsen opened this issue Aug 8, 2024 · 0 comments

Comments

@davidkarlsen
Copy link
Contributor

davidkarlsen commented Aug 8, 2024

Is your feature request related to a problem? Please describe.
I have to add the following to argocd cr:
spec.repo:

 repo:
      env:
      - name: SSL_CERT_DIR
        value: /tmp/sslcertdir
     - mountPath: /tmp/sslcertdir
        name: ssl
      volumes:
      - configMap:
          name: user-ca-bundle
        name: ssl

for it to avoid TLS errors when talking our git host. The cert in question is signed by the bundle already added to the OCP Proxy object. This isn't very polished.

Describe the solution you'd like
Two things:

  1. be able to refer to a configmap or secret containing a bundle
  2. to trust the bundle that is already defined in the OCP Proxy (k get proxy cluster -o yaml)

Describe alternatives you've considered
The above more intrusive method.

Additional context
argoproj/argo-cd#3539 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant