Skip to main content

Git

Git connections are used for GitOps playbook actions and Health Checks

HTTP Basic Auth

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

SSH Keys

apiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: git
spec:
git:
certificate:
value: |
-----BEGIN OPENSSH PRIVATE KEY-----
...
-----END OPENSSH PRIVATE KEY-----

warning

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