fix: v8.5.10-bのDeployment.spec.selector変更が既存リリースのアップグレードを壊す不具合を修正
Helm Chart Release / release-chart (push) Successful in 9s

既存のnginx/php-fpm Deploymentのspec.selector.matchLabelsにapp.kubernetes.io/component:webを追加していたが、Deployment.spec.selectorは作成後immutableのためhelm upgradeが'field is immutable'で失敗していた。既存Deploymentのselectorは元の内容(name+instanceのみ)に戻し、Selenium側はcomponentラベルではなくapp.kubernetes.io/name自体を<chart名>-seleniumという別名にする方式(新ヘルパーphpfpm.selenium.name/phpfpm.selenium.selectorLabels)に変更した。componentラベルだけを足す設計だとSeleniumのPodもnginx/php-fpm側Deploymentのselectorに一致してしまいReplicaSetの選択重複を起こすため、name自体をvariantにして構造的に防止する。v8.5.10-bは既存リリースへの適用不可のためスキップし、v8.5.10-c以降を使うこと。
This commit is contained in:
2026-09-26 09:46:56 +09:00
parent 86cd705d06
commit abb5dba4a1
9 changed files with 107 additions and 10 deletions
+5
View File
@@ -1,5 +1,10 @@
# Changelog - Version 8.5.10-b
> ⚠️ **v8.5.10-b は単体では既存リリースの `helm upgrade` が失敗する不具合を含む**
> (`Deployment.spec.selector: ... field is immutable`)。設計・原因の記録として
> 本ファイルは残すが、**実際の適用は v8.5.10-c 以降を使うこと**。修正内容は
> `CHANGELOG-8.5.10-c.md` を参照。
## 不具合修正・アーキテクチャ変更
### Selenium を独立した Deployment/Service に分離(サービス完全停止の防止)