Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Simple authentication to make the flux operator work with bitbucket cloud

Hi,

I've got a minikube Kubernetes installation (test bed, to be replaced with AWS EKS for demo) that i'm trying to use the Flux operator for to deploy code using GitOps workflows (since pushing many things into kubernetes from many different pipelines is a maintenance, configuration, and credential sharing nightmare).

The flux operator uses a git repo to store its configuration (and how you add new resources to the configs) and as such needs both read and write access to the git repo, which it can only do using simple HTTP Basic or SSH authentication.

I've tried many different ways but cannot seem to grant SSH read and write access to the repository, either via SSH urls or HTTP urls, using creds, without creds, using an App Password, etc.  nothing seems to work, always comes back with Unauthorized or auth failures.

I've tried:

  • https://<email>:<pwd>@bitbucket.org/<org>/<repo>.git
  • https://<username>:<pwd>@bitbucket.org/<org>/<repo>.git
  • https://<email>:<app-pwd>@bitbucket.org/<org>/<repo>.git
  • https://<username>:<app-pwd>@bitbucket.org/<org>/<repo>.git
  • https://<app-pwd>@bitbucket.org/<org>/<repo>.git
  • ssh://git@bitbucket.org/<org>/<repo>.git  (with the SSH key generated by fluxcd uploaded to the repo under <repo> -> Settings -> General -> Access Keys)
  • ssh://<username>@bitbucket.org/<org>/<repo>.git
  • git@bitbucket.org:<org>/<repo>.git
  • <app-pwd>@bitbucket.org:<org>/<repo>.git

References:

How does one give full read/write access using basic SSH to a repo in bitbucket cloud.

1 answer

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,912 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you