Repository navigation
refactor(bootstrap): argocd/repos.yaml を bootstrap/argocd-repos.yaml へ - #635
Merged
Merged
Conversation
bootstrap/ を平らにする残り。apps の Application の path を bootstrap、include を argocd-repos.yaml にする。machine config の差分はこの 2 行だけ。 当てる順は main にマージしてから apply-config → upgrade-k8s。マージから当てるまでの間、 apps は古い path が無いので ComparisonError で止まるだけで何も消さない。ApplicationSet の tracking-id は Application の名前で決まるので、path が変わっても prune も作り直しも起きない。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T9PbUfqG4pPxus99UeLiJs
|
Claude finished @5ym's task in 22s —— View job レビュー結果問題無しです。 指摘は無く、マージ後に人が当てる前提で内容に矛盾はありません。 確認したこと:
要確認(軽微・任意): |
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.
bootstrap/ を平らにする残り(#633 の続き)。
bootstrap/argocd/repos.yamlをbootstrap/argocd-repos.yamlに移し、argocd-values.yamlの extraObjects のappsApplication をpath: bootstrap+include: argocd-repos.yamlにする。machine config の差分
render.shの前後のcontrolplane.yamlを比べると、argocd の inline manifest の中の 2 行だけ:Argo CD で起きること
appsが描く物(ApplicationSetreposとrepos-forgejo)は中身が同じ。tracking-id(annotation、Argo CD 3 の既定)はapps:argoproj.io/ApplicationSet:argocd/reposで、Application の名前で決まり path は入らない。なので path が変わってもprune も作り直しも起きず、同期は差分無し。
apply-config→upgrade-k8s。 マージから当てるまでの間、appsは古い path(
bootstrap/argocd)が main に無いので ComparisonError で止まるだけ(比べられないと同期も prune もしない)。ApplicationSet はその間も動き続ける。逆に先に当てると、新しい include が main の何にも当たらず空の描き出しになる(自動同期は全部を消す
prune を
allowEmpty無しでは拒むが、頼らない)。確かめたこと
renovate-config-validator --strictは通る当てるのは人(このあと)。
🤖 Generated with Claude Code
https://claude.ai/code/session_01T9PbUfqG4pPxus99UeLiJs