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

Allow robot accounts to be shared accoss multiple projects #10774

Closed
finbourne-bot-public opened this issue Feb 19, 2020 · 13 comments
Closed

Allow robot accounts to be shared accoss multiple projects #10774

finbourne-bot-public opened this issue Feb 19, 2020 · 13 comments
Assignees
Labels
area/robot-account backlog kind/requirement New feature or idea on top of harbor

Comments

@finbourne-bot-public
Copy link

Is your feature request related to a problem? Please describe.
Motivation is that when building images sometimes mutiple projects are used. Since a robot account cannot be shared accross projects it is not possible to build an image from images in multiple projects using a robot account. Multiple projects are desired in order to have granular permissions.

Describe the solution you'd like
I would like a given robot account to be able to pull from and push to multiple projects.

Describe the main design/architecture of your solution
Either allow the token for a robot account to be specified on creation or else some mechanism in the project to add a robot account from another project.

Describe the development plan you've considered

Additional context

@renmaosheng
Copy link
Contributor

assign to alex to prioritize the requirement. thanks.

@xaleeks
Copy link
Contributor

xaleeks commented Mar 1, 2020

@finbourne-bot-public This is well understood and definitely in our backlog. Docker builds are a multi stage process that often reach across several different projects so scoping robots out of projects is the best approach. We will allow tying robot account to different projects and configure different levels of access to the projects. This will most likely happen after our 2.0 release scheduled for mid April because it relies on the set of new APIs being worked on.

@Hokwang
Copy link

Hokwang commented Mar 17, 2020

@xaleeks I am really looking forward this feature. But I can't find this on the backlog, which one is that?

@xaleeks xaleeks added area/robot-account backlog kind/requirement New feature or idea on top of harbor labels Mar 19, 2020
@xaleeks xaleeks added this to Backlog in Harbor Project Board via automation Mar 19, 2020
@xaleeks
Copy link
Contributor

xaleeks commented Mar 19, 2020

@Hokwang I thought there was another one #7867 , we can use this issue to track the requirement.

@sunlianqiang
Copy link

@xaleeks also eager for this feature.

@xaleeks
Copy link
Contributor

xaleeks commented Apr 8, 2020

This is impacted by design of #10159, tackling in the 2.1 or 2.2 release

@xaleeks xaleeks moved this from Backlog to 2.2 Product suggestions in Harbor Project Board Apr 8, 2020
@xaleeks xaleeks moved this from 2.2 Product suggestions to 2.1 Product Suggestions in Harbor Project Board Apr 18, 2020
@Sharath52
Copy link

@xaleeks any idea on when this will be released!? eagerly waiting for this update!

@xaleeks xaleeks moved this from 2.1 Product Suggestions to 2.2 Product suggestions in Harbor Project Board Jun 11, 2020
@kamal94
Copy link

kamal94 commented Aug 4, 2020

This is a critical feature for our workflow. Would greatly appreciate any expedition here. Thanks!

@rarick
Copy link

rarick commented Aug 10, 2020

👍 To this.

To give some context as to why this is critical for us:

We're using a gitlab runner to build images for several different projects. Access control is granted on a per-project basis, so I've separated my company's teams into different Harbor projects.

This is an issue when it comes to gitlab runner, as the teams share gitlab runners. For this reason, I am in need of a robot account capable of uploading to all projects.

@xaleeks
Copy link
Contributor

xaleeks commented Oct 25, 2020

system robot accounts coming in 2.2, proposal here goharbor/community#148

project robots are still available to project admins

@bienkma
Copy link

bienkma commented Dec 13, 2020

I'm still waiting this feature

@adamesg
Copy link

adamesg commented Jan 26, 2021

Is this feature still slated for 2.2? The proposal linked above hasn't had any movement for a few months.

@wy65701436
Copy link
Contributor

We can close it as the system level robot is introduced in v2.2, just try with https://github.com/goharbor/harbor/releases/tag/v2.2.0-rc1.

Harbor Project Board automation moved this from 2.2 Product Commitments to Completed Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/robot-account backlog kind/requirement New feature or idea on top of harbor
Projects
Harbor Project Board
  
Completed
Development

No branches or pull requests