Skip to main content

GitHub

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

Used By

FieldDescriptionScheme
personalAccessToken*

GitHub personal access token for authentication

EnvVar

url

GitHub API URL (defaults to https://api.github.com)

string

Examples

GitHub.com Connection
github-connection.yaml
apiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: github
spec:
github:
personalAccessToken:
valueFrom:
secretKeyRef:
name: github-credentials
key: token
GitHub Enterprise
github-enterprise.yaml
apiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: github-enterprise
spec:
github:
url: https://github.mycompany.com/api/v3
personalAccessToken:
valueFrom:
secretKeyRef:
name: github-enterprise-credentials
key: token