Repository navigation
AdGuard の設定を Deployment の中に置き、ハッシュの注釈と CI をやめる - #443
Merged
Merged
Conversation
設定を ConfigMap に置いていたので、変えても Pod が作り直されず、Deployment に sha256 を手で書き、 ずれを adguard-config.yml で見張っていた。設定を initContainer の env(CONFIG)に置けば、設定を 変えると Pod の定義が変わって作り直されるので、3 つとも要らなくなる。 - apps/adguardhome/config.yaml(ConfigMap)と .github/workflows/adguard-config.yml を消す - 中身は 1 バイトも変えていない(kubectl で読んだ値が元の ConfigMap と一致) - renovate-post-upgrade.sh は deployment.yaml の CONFIG を読み書きする。今の版で流して「移行は要らなかった」 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JbmWyUB9jcBcYCnNyiGBSV
|
Claude finished @5ym's task in 27s —— View job レビュー結果差分とリポジトリ内の参照を確認しました。問題は見つかりませんでした。
要確認(軽微):
テスト: この種の変更に自動テストはなく、PR 本文の手動確認( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AdGuard の設定を ConfigMap から initContainer の env(
CONFIG)に移す。設定を変えれば Pod の定義が変わって作り直されるので、ハッシュの注釈(doany.io/config-sha256)と見張りの workflow(adguard-config.yml)が要らなくなる。kubectl create --dry-runで読んだ値が元の ConfigMap と 4066 バイトで一致)renovate-post-upgrade.shは deployment.yaml を読み書きするように変更。今の版(v0.107.79)で流して移行は要らなかった、切り出し→書き戻しの往復も元と一致🤖 Generated with Claude Code
https://claude.ai/code/session_01JbmWyUB9jcBcYCnNyiGBSV