Skip to main content

Github

Github connection can be used for playbook's GitOps actions and Health Checks

apiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: github
spec:
type: github
password:
valueFrom:
secretKeyRef:
name: secret-name
# This should be the Github Personal Access Token
key: secret-key

Generating a token on GitHub

  1. We use Personal access tokens (Classic) for authenticating with Github

  2. Follow these steps to generate one

  3. The OAuth scope should have the repo access