Skip to content

GitLab Agent Support #137

@jshbrntt

Description

@jshbrntt

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Connecting GitLab projects and groups to Kubernetes clusters via cluster certificates is now deprecated meaning it'll be eventually removed from a future release of GitLab.

The new method of connecting GitLab projects and groups is done through installing GitLab Agent into the Kubernetes cluster with a agent token provided after registering the agent via the project.

Currently this can be done through the Infrastructure > Kubernetes clusters section of the project settings.

After registering the agent, an agent token is returned and be used to configure the GitLab Agent on the cluster.

The GUI appears to use the GitLab GraphQL API's createClusterAgent and createClusterAgentToken operations.

I would like to be able to register an agent on a project and get the agent token as an output which can then be used to configure the GitLab Agent on the cluster.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions