- Introduced new IngressClass resource in Helm templates to define `easyhaproxy` as the default ingress class. - Updated Kubernetes examples to replace `easyhaproxy-ingress` with `easyhaproxy` as the ingress class name. - Enhanced processor logic to support both the new `spec.ingressClassName` field and the deprecated `kubernetes.io/ingress.class` annotation. - Revised documentation to reflect the changes and ensure alignment with Kubernetes recommendations. |
||
|---|---|---|
| .. | ||
| cloudflare.yml | ||
| ip-whitelist.yml | ||
| jwt-validator.yml | ||
| plugins-combined.yml | ||
| README.md | ||
| service.yml | ||
| service_tls.yml | ||
Kubernetes Examples
Self-contained examples for EasyHAProxy ingress controller. All documentation is in the YAML files as header comments.
Quick Start
- Pick an example below
- Open the YAML file
- Read the header comments for complete instructions
- Run the commands step-by-step
Prerequisites
All examples require:
- EasyHAProxy installed in your Kubernetes cluster
- Node labeled for EasyHAProxy deployment
See header comments in each file for detailed setup instructions.
Basic Examples
| File | Description |
|---|---|
| service.yml | Basic HTTP ingress with multiple domains |
| service_tls.yml | HTTPS/TLS ingress with custom certificates |
Plugin Examples
| File | Description |
|---|---|
| jwt-validator.yml | JWT token validation for API protection |
| ip-whitelist.yml | IP whitelist for admin panels or sensitive services |
| cloudflare.yml | Restore real client IPs when behind Cloudflare CDN |
| plugins-combined.yml | Multiple plugins combined for layered security |
Documentation Structure
Each YAML file contains:
- WHAT THIS DEMONSTRATES - Key features and concepts
- REQUIREMENTS - Idempotent setup commands (safe to run multiple times)
- HOW TO START - Command to apply the manifest
- HOW TO VERIFY IT'S WORKING - Test commands with expected outputs
- CLEAN UP - Commands to remove resources