Skip to main content

GitLab

GitLab connections enable integration with GitLab repositories and APIs for GitOps workflows, issue management, and merge request automation.

Used By

FieldDescriptionScheme
personalAccessToken*

GitLab personal access token for authentication

EnvVar

url

GitLab API URL (defaults to https://gitlab.com)

string

Examples

GitLab.com Connection
gitlab-connection.yaml
apiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: gitlab
spec:
gitlab:
personalAccessToken:
valueFrom:
secretKeyRef:
name: gitlab-credentials
key: token
Self-Hosted GitLab
gitlab-self-hosted.yaml
apiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: gitlab-self-hosted
spec:
gitlab:
url: https://gitlab.mycompany.com
personalAccessToken:
valueFrom:
secretKeyRef:
name: gitlab-credentials
key: token