Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

fix(composition): adopt un-owned child on umbrella upgrade (D1 upgrade-layer) - #15

Merged
braghettos merged 1 commit into
mainfrom
fix/d1-upgrade-adopt-unowned-child
Jul 8, 2026
Merged

fix(composition): adopt un-owned child on umbrella upgrade (D1 upgrade-layer)#15
braghettos merged 1 commit into
mainfrom
fix/d1-upgrade-adopt-unowned-child

Conversation

@braghettos

Copy link
Copy Markdown
Collaborator

Completes D1 (paired with chart-inspector#4, the render layer). The cdc's actual hc.Upgrade of a composition also aborts with cannot be imported into the current release: invalid ownership metadata when a child instance exists with non-Helm ownership (out-of-band created/edited), wedging the whole reconcile.

Fix: TakeOwnership: true on both upgrade paths → helm adopts the child and self-heals its ownership instead of failing.

Dependency: helm action.Upgrade supports TakeOwnership, but plumbing applyUpgradeConfig only wired it for install. Fixed in braghettos/plumbing v1.7.8 (v1.7.7 + one line); the replace directive is bumped v1.7.7 -> v1.7.8 and go.sum updated.

Validation: go mod tidy + go build ./... pass locally with v1.7.8.

🤖 Generated with Claude Code

…e child cannot wedge the whole release (D1 upgrade-layer)

Complements chart-inspector#4 (render layer). The cdc's hc.Upgrade also aborts with 'cannot be imported into the current release: invalid ownership metadata' when a child composition instance exists with non-Helm ownership (created/edited out-of-band), wedging the whole platform reconcile. Set TakeOwnership on both upgrade paths so helm adopts the child and self-heals its ownership. Requires braghettos/plumbing v1.7.8, which maps TakeOwnership in applyUpgradeConfig (was install-only); replace bumped v1.7.7->v1.7.8. Validated: go build ./... passes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FzZJtQ4bEMHuK4CvF6eBuL
@braghettos
braghettos merged commit e9befbd into main Jul 8, 2026
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant