Hi,
If I don't want to expose my username and password to the url of a git repo, how can I set them when using 'Declarative Setup'?
I've read the doc of https://argoproj.github.io/argo-cd/operator-manual/application.yaml, but can't find any hint.
Firstly, I fork the example git repo to my private gitlab repo host.
Then I setup a private repo using the web-ui.
If I use web-ui, the username and password was set in the 'init repo ui', and one cann't see the credential of the repo anymore after I setting it.

After setting the repo in web-ui, I try to get any hit from the yaml file, but still can't find one.
kubectl describe application guestbook -n=argocd
So what's the equivalent way of 'Declarative Setup'?
Thanks in advance.
I believe that you are looking for the repositories section of the argocd-cm.yaml
The username and password are then stored as Kubernetes secrets and referenced as shown in argocd-cm.yaml
@LelandSindt
Thank you very much. Exactly what I'm looking for.