Skip to content

Prod changeset sync — Stage 2: app cutover (configmap, SA, image pin, runbook) - #1062

Merged
arielr-lt merged 2 commits into
masterfrom
feat/prod-changeset-cutover
Aug 11, 2026
Merged

Prod changeset sync — Stage 2: app cutover (configmap, SA, image pin, runbook)#1062
arielr-lt merged 2 commits into
masterfrom
feat/prod-changeset-cutover

Conversation

@arielr-lt

Copy link
Copy Markdown
Collaborator

Stage 2 (app cutover) for registry changeset sync in production. Depends on Stage 1 (#1061, infra — already applied). Draft — do not merge/apply until the deploy window.

Changes (k8s-manifests-prod/)

  • app-configmap: add REGISTRY_CHANGESET_SYNC_* + AWS_REGION. REGISTRY_CHANGESET_SYNC_ENDPOINT intentionally omitted — changesets generate + store in S3 but aren't delivered, so the Publisher blob can be backfilled first; endpoint is set afterward.
  • app-service-account: repoint to the dedicated least-privilege ce-registry-eks-prod-application-irsa-role (verified: db-dump jobs use a separate SA, so nothing loses bucket access).
  • app/worker/db-migrate: pin immutable image 2026.07.30.0154 (was floating :master/:production). Tag verified in ECR.
  • RUNBOOK: full ordered cutover (marker reset → apply SA+configmap → Deploy workflow + migration → verify → set endpoint after backfill) + rollback notes.

Key deploy facts

  • Marker reset needed for ce_registry only (stale row ~89K versions behind); other communities self-initialize on first publish. Reset runs first (image-independent) to pre-empt the ~180 MB backlog ZIP under the publish-lock.
  • The Deploy image workflow runs the migration after the rollout, so new pods (which don't use the Argo columns) are up before RemoveArgoFields drops them.
  • Configmap + SA are not applied by the Deploy workflow — applied separately per the runbook.

Not in this PR

  • Setting REGISTRY_CHANGESET_SYNC_ENDPOINT (post-backfill, via configmap workflow).
  • Publisher-side blob backfill (Cary) + accumulated-changeset apply.

…), SA repoint to dedicated prod IRSA, pin image 2026.07.30.0154, runbook
@arielr-lt
arielr-lt marked this pull request as ready for review August 11, 2026 16:34
@arielr-lt
arielr-lt merged commit 4d17dda into master Aug 11, 2026
12 checks passed
@arielr-lt
arielr-lt deleted the feat/prod-changeset-cutover branch August 11, 2026 16:53
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.

2 participants