Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Documentation Index

Complete documentation for the breakglass privilege escalation system.

Getting Started

Deployment & Operations

Identity & Authentication

Email Notifications

Quick Reference

  1. Webhook Setup - Configure authorization webhooks
  2. ClusterConfig - Connect tenant clusters
  3. BreakglassEscalation - Define escalation policies
  4. Advanced Features - Request reasons, self-approval prevention, domain restrictions

Resources

Security & Policy

Development & Maintenance

Contributing

Architecture

┌──────────────────────────────────────────────────────────────┐
│                    Hub Cluster                               │
│  ┌──────────────────────────────────────────────────────┐   │
│  │  Breakglass Controller (webhook + API + policy)      │   │
│  └──────────────────────────────────────────────────────┘   │
│  ┌──────────────────────────────────────────────────────┐   │
│  │  ClusterConfig  BreakglassEscalation  DenyPolicy     │   │
│  └──────────────────────────────────────────────────────┘   │
└──────────────────────────────────────────────────────────────┘
                           │
                           │ (webhook endpoint)
                           ▼
┌──────────────────────────────────────────────────────────────┐
│              Tenant Cluster (any of many)                    │
│  ┌──────────────────────────────────────────────────────┐   │
│  │  Kubernetes API Server + Authorization Webhook      │   │
│  └──────────────────────────────────────────────────────┘   │
└──────────────────────────────────────────────────────────────┘

Workflow

  1. Policy - Admins create BreakglassEscalation policies
  2. Request - Users request elevated access
  3. Approval - Approvers review and approve/deny
  4. Active - Approved sessions grant temporary privileges
  5. Webhook - Kubernetes validates requests against active sessions
  6. Expiry - Sessions auto-expire after set duration

Common Use Cases

  • Production Incidents - Emergency cluster-admin access with approval
  • Development - Self-service namespace-admin for debugging
  • Contractors - Limited-time access with manager approval
  • Compliance - All escalations logged and auditable

Key Features

  • Time-bounded access (expires automatically)
  • Mandatory approvals for sensitive escalations
  • Explicit deny policies override all permissions
  • Real-time webhook-based authorization
  • Complete audit trail for compliance
  • Multi-cluster support
  • Scheduled sessions with deferred activation
  • Debug sessions and debug pod templates
  • Multi-IDP support with optional group sync
  • CLI automation via bgctl
  • Request modals reset to a clean state when closed for consistent UX

Deployment Modes

Breakglass supports multiple deployment patterns via component enable flags. See the Installation and CLI Flags Reference for full examples.

  • Monolithic (default): frontend + API + SAR webhook + cleanup + validating webhooks
  • Webhook-only: validating webhooks only (CRD validation)
  • API-only: frontend + API + SAR webhook (no validating webhooks)
  • Frontend-only: web UI only
  • Cleanup-only: background cleanup routine only