argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
17.97k stars 5.47k forks source link

Possibility to connect Argo CD to Bitbucket Cloud private workspace without creating a fake user? #7703

Open Spenhouet opened 3 years ago

Spenhouet commented 3 years ago

Since there wasn't any reply to my discussion post https://github.com/argoproj/argo-cd/discussions/7671, I guess that this is currently not implemented?

Originally posted by **Spenhouet** November 10, 2021 We have a company workspace in Bitbucket Cloud with many Git Repositories. We want to give Argo access to these repositories without needing to create a fake user (which we would need to pay for). In Codefresh we did set this up with OAuth2 but we do not see that option with Argo. The Argo docs only explain the connection via HTTPS credentials, tokens or SSH: https://argo-cd.readthedocs.io/en/stable/user-guide/private-repositories/ Bitbucket provides OAuth consumers: https://support.atlassian.com/bitbucket-cloud/docs/use-oauth-on-bitbucket-cloud/ Is it possible to make use of that to connect Argo to all repositories? Or is there no way to do this without an explicit user in Bitbucket Cloud?
Gmanweb commented 3 years ago

+1

MickeyKi commented 2 years ago

+1

Gowtham029 commented 2 years ago

+1

mtavaresmedeiros commented 2 years ago

+1

kworkbee commented 1 year ago

Any progress?

Spenhouet commented 1 year ago

We did not have time to look into this, but Bitbucket Cloud now provides "Repository Access Tokens": https://support.atlassian.com/bitbucket-cloud/docs/using-access-tokens/

This might be helpful here.

petuhovegor commented 2 weeks ago

Hello everyone!. Find out today that you can create a Repository Access Token in Bitbucket and use it for argocd. Enter name of user “x-token-auth” and for password value of your token.