Open wadebee opened 8 months ago
Hi Wade, this is something I am currently working on. I should have most of the code in place in a few days. I'll ping you.
BTW - I just ran an install with the new v0.0.43 VP operator and it is picking up my ca-inject CM from openshift-operator namespace properly.
That is a customization I can remove from our bootstrapping. Thanks!
Hi Wade,
good catch on the 0.0.43 ;) Yeah with that release the vp operator should respect any custom CAs injected in the cluster.
Right now to get things working (as you probably already figured out). You will need to add the fqdn of the git server + custom CA in the argocd-tls-certs-cm and you will need to do this in the cluster-wide argo and in the pattern argo instances.
For spoke clusters, right now we only push the self-signed CAs to the remote cluster. It should be relatively trivial to push the hub's CA somewhere on the spokes via ACM though. I kind of assumed that spokes clusters will be installed with the custom CA from the start. Can you maybe expand a bit on the use case you have in mind here?
As to the general high-level plans for this, I was thinking the following:
Do let me know if this plan matches your expectation or if you think it needs tweaking. Thanks!
FYI wadebee And I were able to successfully test this as a workaround:
We dropped this file this file under common/acm/templates/policies/
Am reopening this one, just to track the release of the 0.0.44 patterns-operator which is needed for this functionality to be tested. It's currently stuck on some infra issues to release it to the operator hub.
References:
https://argo-cd.readthedocs.io/en/stable/operator-manual/tls/#tls-certificates-used-by-argocd-server
https://access.redhat.com/documentation/en-us/red_hat_openshift_gitops/1.10/html/release_notes/gitops-release-notes#known-issues-1-10_gitops-release-notes
What is the proper way to inject a Corporate CA into a Validated Pattern such that: