Implement a new nginx.forwardRealIP configuration flag to enable/disable real client IP extraction from X-Forwarded-For headers on bare-metal clusters. Changes: - Added nginx.forwardRealIP.enabled flag (default: false) to values.yaml - Added nginx.forwardRealIP.trustedProxies list for flexible proxy IP ranges - Updated Nginx configmap to conditionally apply real IP extraction settings - Updated FastCGI parameters to use real IP when enabled, direct connection IP otherwise - Updated WordPress wp-config.php to conditionally extract real IPs from headers Configuration: - When enabled: Extracts real client IP from X-Forwarded-For header - When disabled: Uses direct connection IP (default Nginx behavior) - Supports custom proxy IP ranges for CloudFlare, AWS ALB, etc. This allows Helmchart to work seamlessly on both: 1. Bare-metal clusters with iptables load balancing 2. Cloud-managed clusters with proper IP forwarding Version bumped to 6.9.0-a (WordPress version with implementation suffix) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
22 lines
548 B
YAML
22 lines
548 B
YAML
apiVersion: v2
|
|
name: wordpress-nginx
|
|
description: WordPress with Nginx and PHP-FPM on Kubernetes
|
|
type: application
|
|
version: 6.9.3-a
|
|
appVersion: "6.9.0"
|
|
keywords:
|
|
- wordpress
|
|
- nginx
|
|
- php-fpm
|
|
- cms
|
|
maintainers:
|
|
- name: Pieter
|
|
url: https://git.cafepieters.com/helmchart/repo/
|
|
home: https://wordpress.org/
|
|
sources:
|
|
- https://wordpress.org
|
|
icon: https://upload.wikimedia.org/wikipedia/commons/thumb/9/93/Wordpress_Blue_logo.png/250px-Wordpress_Blue_logo.png
|
|
kubeVersion: ">=1.19.0-0"
|
|
annotations:
|
|
category: CMS
|
|
licenses: Apache-2.0 |