Skip to main content

Git

Git connections are used for GitOps playbook actions and Health Checks

apiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: github
spec:
git:
username:
valueFrom:
secretKeyRef:
name: secret-name
key: username
password:
valueFrom:
secretKeyRef:
name: secret-name
key: password
info

The git connection type does not support opening pull requests, use a github, gitlab or azureDevops type instead

Github

apiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: github
spec:
github:
organization: flanksoure
personalAccessToken:
valueFrom:
secretKeyRef:
name: secret-name
key: pat
Classic PAT

In order to create pull requests it is advised to use a classic token with the repo OAuth scope.