chore(flux): ungate ten Kustomizations from the Platform claim #755
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/decouple-platform-claim-gate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Sets
wait: falseonplatform-seanfarm-instancesand removes itshealthChecksblock.This is preparation, not the retirement itself. It has to land before the composition is emptied.
Why it has to come first
./instancesnow contains exactly one resource: thePlatform/seanfarmclaim, the last Crossplane object in the cluster. Withwait: true, this Kustomization does not report Ready until that claim is Ready -- and ten Kustomizations gate on it:The next step empties the composition so the XR composes nothing. Whether a composite with zero composed resources still reports
Ready=Trueis not something I was willing to assume with that blast radius behind it. If it reports anything else, all ten stall.Decoupling first makes that question irrelevant instead of load-bearing.
The gate is already vestigial
Everything the claim composed -- the internal-CA PKI (
pki_root,pki_internal, thecnpg-server/cnpg-client/bundle-exportroles), the cosign transit backend and the cosign-signer policy -- is declared as plain Flux manifests ininfrastructure/openbao-platformas of #750. That Kustomization is itselfwait: false.So the ordering this gate appears to enforce is already not enforced on the path the PKI actually arrives by. It reads like ordering without being ordering.
The healthChecks block was dead configuration
It went with the
waitflip, and removing it costs nothing, because Flux ignoresspec.healthCheckswhenwait: true. The comment previously in this file recorded exactly that, as the explanation for how a staleStack/aliceentry naming a retired kind sat there unnoticed:So this removes dead config, not live behavior.
Risk
Downstream Kustomizations now proceed once the claim is applied rather than Ready. On a cold rebuild that is a real reduction in ordering -- but the same ordering is already absent from
openbao-platform, which is where those resources now come from, andmake rebuildis deferred and unproven perAGENTS.md. Flagging it rather than burying it.Reversible: restore
wait: trueto restore the old coupling.tests/check.shexits 0.https://claude.ai/code/session_01GfkEuwuvGSqGyXVuxwT7PA