Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab FOSS
GitLab FOSS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • Container Registry
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #46075

Closed
Open
Opened May 04, 2018 by Fabio Busatto@bikebilly
  • Report abuse
  • New issue
Report abuse New issue

Automatically provide a Deploy Token to projects when Auto DevOps is enabled

Description

When Auto DevOps is used for private or internal projects, the registry will not be accessible by Kubernetes after the deploy jobs is over. This prevents the cluster from fetching the image again in the future in case it needs it (scaling, failures, etc).

The solution is to create a Deploy Token that will be used as a permanent access to the registry. This could be done manually, but users using Auto DevOps may not be aware of that.

One possible solution is described in https://gitlab.com/gitlab-org/gitlab-ce/issues/44452, but we are also considering to automatically create a Deploy Token.

Proposal

If a project is private or internal, and Auto DevOps is enabled by default at instance level or specifically for the project, automatically create a Deploy Token with a specific name and read_registry scope that will be used for deployments.

Edited Jun 04, 2018 by Fabio Busatto

Related issues

  • Discussion
  • Designs
Assignee
Assign to
11.0
Milestone
11.0
Assign milestone
Time tracking
None
Due date
None
8
Labels
CI/CD [DEPRECATED] Category:Auto DevOps Deliverable backend devops::configure feature release post item workflow::In review
Assign labels
  • View project labels
Reference: gitlab-org/gitlab-foss#46075