What is GitHub Integration?
GitHub integration allows you to edit Kubernetes YAML files and create Pull Requests directly from Orphelix, following GitOps best practices.
Benefits
GitOps Workflow
Follow GitOps best practices with version-controlled infrastructure
YAML Editor
Edit Kubernetes manifests with Monaco editor and syntax highlighting
Pull Requests
Automatically create and manage PRs from the dashboard
Kustomize Support
Detect and edit Kustomize base & overlay structures
Features
YAML Editing
- Monaco Editor - VSCode-like editing experience
- Syntax Highlighting - YAML and Kubernetes schema validation
- Auto-completion - Smart suggestions for Kubernetes resources
- Error Detection - Real-time validation of YAML syntax
Smart File Matching
Orphelix can automatically find the correct YAML file for each deployment using AI-powered matching
- AI-Powered (OpenAI) - Uses GPT-4o-mini to intelligently match deployments to files
- Pattern-based - Fallback method using naming patterns
Pull Request Workflow
Authentication Methods
- GitHub App (Recommended)
- OAuth (Legacy)
Why GitHub App?
More Secure
More Secure
Fine-grained repository access - choose exactly which repos to grant access
Organization-Friendly
Organization-Friendly
Centralized permission management, no personal tokens
Better Rate Limits
Better Rate Limits
Higher API rate limits than OAuth
Independent Identity
Independent Identity
App has its own identity, not tied to a personal account
Use Cases
1. Update Deployment Image
2. Adjust Resource Limits
3. Update ConfigMap Values
Requirements
Getting Started
Set up GitHub App
Recommended method for secure integration
Use YAML Editor
Learn how to edit Kubernetes manifests
Create Pull Requests
Manage PRs from the dashboard
Security
Credentials Storage
Credentials Storage
- GitHub App tokens stored in HTTP-only cookies
- Tokens never exposed to browser JavaScript
- Automatic token refresh every 8 hours
Repository Access
Repository Access
- Granular repository permissions
- Read + Write access only to selected repos
- Can revoke access anytime from GitHub settings
API Security
API Security
- All GitHub API calls server-side
- No direct browser-to-GitHub communication
- Rate limiting protection
FAQ
Can I use multiple GitHub accounts?
Can I use multiple GitHub accounts?
Yes! You can install the GitHub App on multiple accounts (personal + organizations) and switch between them in the repository selector.
What permissions does the GitHub App need?
What permissions does the GitHub App need?
- Contents: Read and write (to read/edit files)
- Pull Requests: Read and write (to create PRs)
- Metadata: Read-only (automatically set by GitHub)
Can I edit files in private repositories?
Can I edit files in private repositories?
Yes! GitHub App works with both public and private repositories.
What if my repo uses Kustomize?
What if my repo uses Kustomize?
Orphelix automatically detects Kustomize structure and shows base + overlay files in separate tabs.
Next Steps
Set up GitHub App
Follow the step-by-step setup guide