Skip to content

Pull Request Wars: FluxCD Edition

🎯 Born from KubeCon Platform Engineering Talk - Demonstrating how to deliver a safe, standardized golden path that accelerates value delivery without sacrificing control.

Overview

This organization showcases the code from @mbianchidev and @stefanprodan KubeCon Talk. We turned GitHub Pull Requests into on-demand, ephemeral Kubernetes environments with FluxCD Operator. Platform teams can ship this as a service.

Built on Flux Operator, this project demonstrates how modern platform teams can provide developers with:

  • ✨ Instant, production-like environments for every PR
  • 🔒 Safe, standardized infrastructure patterns
  • 🚀 Accelerated development cycles
  • 🎮 Full developer autonomy without sacrificing control

The Golden Path Concept

What is a Golden Path?

A golden path is a pre-paved, well-lit route that makes the "right way" the easiest way. In platform engineering, it means:

  • Standardized: Consistent patterns across all teams
  • Safe: Security and compliance built-in by default
  • Fast: Remove friction from the development workflow
  • Flexible: Developers maintain autonomy within guardrails

How It Works

The PR-to-Environment Workflow

┌─────────────────┐
│  Developer      │
│  Opens PR       │
└────────┬────────┘
         │
         ▼
┌─────────────────────────────┐
│  Flux Operator              │
│  Detects PR Event           │
└────────┬────────────────────┘
         │
         ▼
┌─────────────────────────────┐
│  ResourceSet Creation       │
│  • Namespace                │
│  • Services                 │
│  • Ingress                  │
│  • Dependencies             │
└────────┬────────────────────┘
         │
         ▼
┌─────────────────────────────┐
│  Ephemeral Environment      │
│  Ready in Minutes           │
│  • Isolated                 │
│  • Production-like          │
│  • Fully Functional         │
└─────────────────────────────┘

Key Features

  1. Automatic Environment Provisioning

    • Every PR gets its own Kubernetes namespace
    • Pre-configured with all necessary resources
    • Ready to test in minutes, not hours
  2. Built-in Safety

    • Resource limits enforced
    • Network policies applied
    • Security contexts configured
    • Automatic cleanup on PR close
  3. Developer Experience

    • No infrastructure knowledge required
    • Instant feedback on changes
    • Real-world testing environment
    • Collaborate with unique URLs
  4. Platform Team Benefits

    • Centralized control
    • Consistent patterns
    • Cost optimization (ephemeral = no waste)
    • Observable and auditable

Technology Stack

  • Flux Operator: GitOps operator for Kubernetes
  • ResourceSets: Flux Operator's mechanism for managing collections of resources
  • GitHub Actions: Automation and integration
  • Kubernetes: Container orchestration platform

About This Project

This organization was created as part of a KubeCon platform engineering presentation to demonstrate:

  • Real-world implementation of platform engineering principles
  • How Flux Operator enables self-service infrastructure
  • Best practices for ephemeral environment management
  • Patterns that scale from teams to enterprises

Getting Started

Explore our repositories to see:

  • Example ResourceSet configurations
  • GitHub Actions workflows for PR automation
  • Platform templates and patterns
  • Documentation and guides

Philosophy

"The best platform is invisible."

We believe platform engineering should:

  • Enable developers, not block them
  • Enforce standards without creating tickets
  • Scale with mature automation

Contributing

This is a demonstration project from our KubeCon talk. Feel free to:

  • Fork and adapt for your organization
  • Connect with us to discuss platform engineering

Learn More


Built with ❤️ for Platform Engineers everywhere

Popular repositories Loading

  1. platform platform Public

    GitOps Platform

    Shell 3 2

  2. flux-appx flux-appx Public

    Demo app

    JavaScript 2 2

  3. charts charts Public

    Generic Helm charts

    Go Template 1 2

  4. .github .github Public

    Community files

Repositories

Showing 4 of 4 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…