Skip to content

fix(agent-manager): keep the migrate run out of organization namespaces once the cut-over is done - #1562

Merged
Rotfuks merged 1 commit into
mainfrom
migrate-skips-organizations-after-cutover
Dec 1, 2026
Merged

Rotfuks merged 1 commit into
mainfrom
migrate-skips-organizations-after-cutover

Conversation

@Rotfuks

@Rotfuks Rotfuks commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Part of giantswarm/giantswarm#38902.

On the agent chart 3.x line with agentManager.migration.cutover unset, the migrate identity may no longer write the report ConfigMap in organization namespaces, but the run still visited them (--organization-namespaces auto) and failed on that write. Seen on graveler after its cut-over: the Job failed with configmaps "agent-manager-migrate-report" is forbidden in both organization namespaces, which raises ManagementClusterJobFailed.

The CronJob now sets AGENT_MANAGER_MIGRATE_ORGANIZATION_NAMESPACES=none on the 3.x line while the cut-over is not running. During the cut-over and on the 2.x line nothing changes. verify-agent-chart-line covers all three cases and fails without the template change.

@Rotfuks
Rotfuks requested a review from a team as a code owner December 1, 2026 17:29
@circleci-architect

Copy link
Copy Markdown

Published Helm chart agent-platform-connectivity

4.189.1-r39b52531t20261201172913h83fae94
Chart agent-platform-connectivity
Version 4.189.1-r39b52531t20261201172913h83fae94
OCI reference oci://gsoci.azurecr.io/charts/giantswarm/agent-platform-connectivity:4.189.1-r39b52531t20261201172913h83fae94
Digest sha256:05e7c9f198c2b2c45363eee720581e82c1284b79d795bd425bb3e67570938b63
Registry public — gsoci.azurecr.io
Git catalog giantswarm-test-catalog (index)
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/agent-platform-connectivity --version 4.189.1-r39b52531t20261201172913h83fae94

Posted by architect-orb · build 36895 · commit 83fae94 · updated in place on every push

@circleci-architect

Copy link
Copy Markdown

Published Helm chart agent-platform

4.189.1-r39b52531t20261201172913h83fae94
Chart agent-platform
Version 4.189.1-r39b52531t20261201172913h83fae94
OCI reference oci://gsoci.azurecr.io/charts/giantswarm/agent-platform:4.189.1-r39b52531t20261201172913h83fae94
Digest sha256:f72ce2df3613b8de296744866a77f0d7d8d1c574a02aebc204d732b3cb5feba6
Registry public — gsoci.azurecr.io
Git catalog giantswarm-test-catalog (index)
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/agent-platform --version 4.189.1-r39b52531t20261201172913h83fae94

Posted by architect-orb · build 36893 · commit 83fae94 · updated in place on every push

@Rotfuks
Rotfuks merged commit c2e14cf into main Dec 1, 2026
16 checks passed
@Rotfuks
Rotfuks deleted the migrate-skips-organizations-after-cutover branch December 1, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant