ClusterAgentArgs

data class ClusterAgentArgs(val name: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<ClusterAgentArgs>

The gitlab.ClusterAgent resource allows to manage the lifecycle of a GitLab Agent for Kubernetes.

Note that this resource only registers the agent, but doesn't configure it. The configuration needs to be manually added as described in the docs. However, a gitlab.RepositoryFile resource may be used to achieve that. Requires at least maintainer permissions on the project. Requires at least GitLab 14.10 Upstream API: GitLab REST API docs

Import

GitLab Agent for Kubernetes can be imported with the following command and the id pattern <project>:<agent-id>

$ pulumi import gitlab:index/clusterAgent:ClusterAgent example '12345:42'

Constructors

Link copied to clipboard
constructor(name: Output<String>? = null, project: Output<String>? = null)

Properties

Link copied to clipboard
val name: Output<String>? = null

The Name of the agent.

Link copied to clipboard
val project: Output<String>? = null

ID or full path of the project maintained by the authenticated user.

Functions

Link copied to clipboard
open override fun toJava(): ClusterAgentArgs