GitLab
GitLab connections enable integration with GitLab repositories and APIs for GitOps workflows, issue management, and merge request automation.
Used By
- GitOps Action - Create commits and merge requests
- Playbook Actions - Execute GitLab-related automation
| Field | Description | Scheme |
|---|---|---|
personalAccessToken* | GitLab personal access token for authentication | |
url | GitLab API URL (defaults to https://gitlab.com) |
|
Examples
GitLab.com Connection
gitlab-connection.yamlapiVersion: 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.yamlapiVersion: 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