GitHub
GitHub connections enable integration with GitHub repositories and APIs for GitOps workflows, issue management, and pull request automation.
Used By
- GitHub Config Scraper - Scrape GitHub resource configurations
- GitHub Action - Create issues and pull requests
- GitOps Action - Commit changes to repositories
| Field | Description | Scheme |
|---|---|---|
personalAccessToken* | GitHub personal access token for authentication | |
url | GitHub API URL (defaults to https://api.github.com) |
|
Examples
GitHub.com Connection
github-connection.yamlapiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: github
spec:
github:
personalAccessToken:
valueFrom:
secretKeyRef:
name: github-credentials
key: token
GitHub Enterprise
github-enterprise.yamlapiVersion: 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