Commit Graph
27 Commits
Author SHA1 Message Date
GitHub Actions Bot 1be71b95e4 chore: update to PHP 8.5.9, nginx 1.31.3-alpine-perl, selenium 150.0-chromedriver-150.0 2026-08-03 02:00:23 +00:00
claudeandClaude Fable 5 3d384ab72e feat: Python導入オプションを追加 (v8.5.8-a)
Helm Chart Release / release-chart (push) Successful in 5s
PHPからPythonスクリプトを呼び出す用途向けに、values.yamlの設定
だけでPython仮想環境(venv)を導入できるようにした。既存のComposer
サポートと同じ設計方針(デフォルト導入先はWebルート外・PVC非マウ
ントの使い捨て領域、packages/useRequirementsTxtの二択、
additionalApkPackagesでネイティブ拡張ビルド対応)を踏襲。

- values.yaml: python セクション新設
- templates/deployment.yaml: python3/py3-pipのAPKインストール、
  venv構築、pip install処理を追加(requirements.txtの展開は
  trim | nindent 14 でYAML破壊を回避、v8.5.6-dと同じ手法)
- README.md: パラメータ表・使用例(例12)・注意事項を追加

PHPからは exec('/venv/bin/python3 script.py') で呼び出す。

自動更新ワークフローによりPHP 8.5.8へのフルリリース(v8.5.8)が
先行して行われたため、本機能はそのタグの上に手動リリース 8.5.8-a
として適用する。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-25 21:23:20 +09:00
GitHub Actions Bot 6e600bb308 chore: update to PHP 8.5.8, nginx 1.31.3-alpine-perl, selenium 150.0-chromedriver-150.0 2026-07-20 02:00:49 +00:00
claudeandClaude Fable 5 85b7f69ccb feat: PVCルートを /var/www にマウント、/composer を使い捨て領域に変更 (v8.5.6-e)
Helm Chart Release / release-chart (push) Successful in 6s
php-fpm コンテナのマウントを html サブパスのみから PVCルート
(/var/www)に変更。html/ は公開フォルダ、それ以外は非公開ファイル
の格納先として利用可能に。nginx は従来どおり html サブパスのみ
マウントするため、非公開ディレクトリがWebに公開されることはない。

あわせて /composer のPVC永続化マウントを廃止し、Pod再起動ごとに
クリーン再構築される使い捨て領域とした(マルウェア書き込み対策)。
永続化したい場合は composer.workingDir に /var/www/composer 等を指定。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 17:03:16 +09:00
claudeandClaude Fable 5 76a4a7874b feat: Composerデフォルト導入先を /composer に変更 (v8.5.6-c)
Helm Chart Release / release-chart (push) Successful in 5s
/var/www はWebルート /var/www/html の親ディレクトリのため、
ネストマウントの副産物としてPVCの composer サブパス内に
空の html/ ディレクトリが生成されていた。

デフォルトの composer.workingDir をWebルートと親子関係にない
/composer に変更してネストマウント自体を解消。

- autoload読み込み: require_once '/composer/vendor/autoload.php';
  (values.yaml のコメントにも明記)
- PVCデータは同じ composer サブパスを使うため移行不要
- 旧Webルートからの自動移行機能(v8.5.6-b)は維持

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 15:13:51 +09:00
claudeandClaude Fable 5 8ff43615fa feat: Composer導入先をWebルート外(/var/www)に変更 (v8.5.6-a)
Helm Chart Release / release-chart (push) Successful in 5s
従来はWebルート /var/www/html 直下にComposerを導入していたため、
composer.json / composer.lock / vendor/ がWeb経由で公開され、
依存パッケージ情報の漏洩などのセキュリティリスクがあった。

- values.yaml: composer.workingDir を追加(デフォルト: /var/www)
- templates/deployment.yaml: 作業ディレクトリを workingDir に変更、
  Webルート以外の場合はPVCの composer サブパスをマウントして永続化
- README.md: パラメータ説明・autoload読み込みパスの解説を追加
- Chart.yaml: 8.5.6-a(手動リリース)
- CHANGELOG-8.5.6-a.md: 変更内容を記録

PHP側は require_once '/var/www/vendor/autoload.php'; で読み込む。
旧動作へは composer.workingDir: "/var/www/html" で復帰可能。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 14:29:23 +09:00
GitHub Actions Bot 112fae7059 chore: update nginx to 1.31.1-alpine-perl, selenium to 148.0-chromedriver-148.0 (no release) 2026-05-25 02:00:33 +00:00
GitHub Actions Bot 5aa6583f69 chore: update nginx to 1.31.0-alpine-perl, selenium to 147.0-chromedriver-147.0 (no release) 2026-05-18 02:00:23 +00:00
GitHub Actions Bot 982cc274d8 chore: update to PHP 8.5.6, nginx 1.30.0-alpine-perl, selenium 147.0-chromedriver-147.0 2026-05-11 02:00:26 +00:00
GitHub Actions Bot 3fd01dd7e5 chore: update nginx to 1.30.0-alpine-perl, selenium to 147.0-chromedriver-147.0 (no release) 2026-04-20 02:00:26 +00:00
claudeandClaude Sonnet 4.6 f48879446c feat: phpEnv による汎用 PHP 環境変数サポートを追加
Helm Chart Release / release-chart (push) Successful in 5s
Update Docker Image Tags and Release Helm Chart / update-and-release (push) Successful in 13s
values.yaml の phpEnv マップに設定した任意のキーと値を
PHP-FPM コンテナの環境変数として渡せるようにした。
APIキー・外部サービス設定など DB 接続以外の情報も
同様の方法で PHP に共有できる。

- values.yaml: phpEnv セクション追加
- templates/deployment.yaml: phpEnv を env としてレンダリング
- README.md: パラメータ説明と使用例(例10)を追加
- CLAUDE.md: 新規作成(PHP環境なし・git情報・改修履歴を記録)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 09:58:13 +09:00
GitHub Actions Bot 84ed9e478e chore: update to PHP 8.5.5, nginx 1.29.8-alpine-perl, selenium 147.0-chromedriver-147.0 2026-04-13 02:00:26 +00:00
GitHub Actions Bot c8a745f997 chore: update nginx to 1.29.7-alpine-perl, selenium to 145.0-chromedriver-145.0 (no release) 2026-03-30 02:00:25 +00:00
GitHub Actions Bot d2c3b9671f chore: update to PHP 8.5.4, nginx 1.29.6-alpine-perl, selenium 145.0-chromedriver-145.0 2026-03-16 02:00:21 +00:00
GitHub Actions Bot e83fd7b6f6 chore: update nginx to 1.29.5-alpine-perl, selenium to 145.0-chromedriver-145.0 (no release) 2026-03-02 02:00:24 +00:00
claudeandClaude Sonnet 4.5 06c63037f1 feat: Add SMTP mail sending feature via msmtp
Helm Chart Release / release-chart (push) Successful in 5s
PHPアプリケーションからSMTP経由でメール送信を行う機能を追加。
msmtpをPHP-FPMコンテナに統合し、mail()関数で直接利用可能。

Features:
- STARTTLS(port 587)とSSL/TLS(port 465)に対応
- 送信元アドレスは固定だがPHPで上書き指定可能
- パスワードはKubernetes Secretで安全に管理
- 自己署名証明書対応オプション
- Gmail、Office365など一般的なSMTPサーバーに対応

Changes:
- values.yaml: smtp設定セクションを追加
- templates/secret-smtp.yaml: パスワード管理用Secret
- templates/configmap-smtp.yaml: msmtprc設定ファイル生成
- templates/configmap-smtp.yaml: PHPヘルパークラス(SmtpConfig)
- templates/deployment.yaml: msmtpインストールと設定
- README.md: SMTP設定パラメータ表と使用例を追加

Protocol support:
- auto: 自動判定(推奨)
- starttls: SMTP + STARTTLS(ポート587)
- tls: SSL/TLS(ポート465)

PHP Usage:
  SmtpConfig::init();
  mail($to, $subject, $body);
  // または別の送信者で上書き
  SmtpConfig::mail($to, $subject, $body, $headers, 'custom@example.com');

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-24 10:44:12 +09:00
GitHub Actions Bot adc9ce5934 chore: update to PHP 8.5.3, nginx 1.29.5-alpine-perl, selenium 144.0-chromedriver-144.0 2026-02-16 02:00:39 +00:00
GitHub Actions Bot c31ee5ce93 chore: update to PHP 8.5.2, nginx 1.29.5-alpine-perl, selenium 144.0-chromedriver-144.0 2026-02-10 03:47:43 +00: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
pieter 6c4f7c0bf2 Composer対応
Helm Chart Release / release-chart (push) Successful in 17s
2026-02-06 01:20:27 +00:00
GitHub Actions Bot 3ced61563a chore: update to PHP 8.5.2, nginx 1.29.4-alpine-perl, selenium 144.0-chromedriver-144.0 2026-01-26 02:00:35 +00:00
GitHub Actions Bot 80d248ad10 chore: update to PHP 8.5.2, nginx 1.29.4-alpine-perl, selenium 143.0-chromedriver-143.0 2026-01-19 02:00:30 +00:00
GitHub Actions Bot 9e44c92824 chore: update to PHP 8.5.1, nginx 1.29.4-alpine-perl, selenium 143.0-chromedriver-143.0 2026-01-10 11:14:01 +00:00
pieter c5b8c05715 values.yaml を更新 2025-09-11 07:35:58 +00:00
pieter 79308adbbc values.yaml を更新 2025-08-29 03:21:43 +00:00
pieter 2b3923db0c values.yaml を更新 2025-07-05 04:28:15 +00:00
pieter b26776fde2 "/" にファイルをアップロード 2025-07-04 06:23:04 +00:00