Commit Graph
4 Commits
Author SHA1 Message Date
claudeandClaude Sonnet 4.5 3343995e21 fix: Replace jq with Python for PHP version parsing
Helm Chart Release / release-chart (push) Successful in 12s
jqが利用できない環境でも動作するよう、Python3に変更。

Changes:
- jqの依存を削除
- Python3でDocker Hub APIレスポンスをパース
- 正規表現パターンマッチングをPythonで実装
- バージョンソートをPythonで実装
- デバッグ出力を追加(利用可能なタグ、マッチ数)

Benefits:
- 追加パッケージのインストール不要
- デバッグ情報が詳細
- より確実な動作

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-10 12:07:05 +09:00
claudeandClaude Sonnet 4.5 a3f0245c64 debug: Add extensive debugging to PHP version check
Helm Chart Release / release-chart (push) Successful in 11s
- Add jq installation check and auto-install
- Output first 10 available PHP tags for debugging
- Show matched LATEST value before processing
- Store API response in variable for reuse

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-10 11:59:24 +09:00
claudeandClaude Sonnet 4.5 6002da51d0 fix: Update PHP version regex to support alpine 3.23+
Helm Chart Release / release-chart (push) Successful in 12s
Alpine Linuxのマイナーバージョンが3.23など3桁になったため、
正規表現パターンを修正。

Changes:
- 正規表現を `[0-9]+` から `[0-9]{2,3}` に変更
- alpine3.22 と alpine3.23 の両方に対応
- エラーメッセージにデバッグ情報を追加

Fixes: PHP version check failure in Gitea Actions workflow

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-10 11:54:29 +09:00
claudeandClaude Sonnet 4.5 02696fc55e feat: Add Real IP forwarding feature for bare-metal clusters
Helm Chart Release / release-chart (push) Successful in 12s
ベアメタルKubernetesクラスターやLoadBalancer環境において、
PHP側で訪問者の実IPアドレスを取得できる機能を追加。

Changes:
- Add nginx.forwardRealIP configuration in values.yaml
- Implement real_ip_header and set_real_ip_from in Nginx config
- Pass real IP info to PHP-FPM via fastcgi_param
- Add usage example and documentation in README.md
- Create test-real-ip.php for verification
- Update chart version to 8.5.2-a

Features:
- Compatible with existing customConfig.snippet
- Configurable trusted proxy networks
- Supports multi-tier proxy with recursive option
- Default disabled for backward compatibility

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-10 09:21:55 +09:00