Prod changeset sync — Stage 1: infra prep (bucket + dedicated IRSA role) - #1061
Draft
arielr-lt wants to merge 1 commit into
Draft
Prod changeset sync — Stage 1: infra prep (bucket + dedicated IRSA role)#1061arielr-lt wants to merge 1 commit into
arielr-lt wants to merge 1 commit into
Conversation
Stage 1 (infrastructure prep) for enabling registry changeset sync in production. Additive only — does not touch the running prod app. - Provision the cer-registry-changesets-prod S3 bucket (reuses the generic bucket module: versioning, AES256, public-access-block). - Add a dedicated least-privilege prod IRSA role (ce-registry-eks-prod-application-irsa-role) so prod is isolated from the shared staging/prod role. Scoped to the buckets the prod app actually uses, verified against its S3 code paths and DB config: cer-envelope-downloads, cer-envelope-graphs-prod-us-east-1, ocn-exports (ce_registry OCN export is enabled in prod), and cer-registry-changesets-prod. Deferred to the app cutover (Stage 2): repoint the prod service account to the new role + remove credreg-prod from the shared role trust, configmap env vars, image bump, migration, and backlog handling.
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.
Draft / planning — Stage 1 (infrastructure prep) for enabling registry changeset sync in production. Additive only; does not touch the running prod app. Not to be applied until the app cutover (Stage 2) is planned and the Publisher side is confirmed.
What this adds
cer-registry-changesets-prod(versioning + AES256 + public-access-block).ce-registry-eks-prod-application-irsa-role, trusting onlycredreg-prod:main-app-service-account— isolates prod from the shared staging/prod role.cer-envelope-downloads,cer-envelope-graphs-prod-us-east-1,ocn-exports(prodce_registryOCN export is enabled),cer-registry-changesets-prod.Read-only plan: 8 to add, 0 to change, 0 to destroy (for these resources).
Deferred to Stage 2 (app cutover) — intentionally not here
credreg-prodfrom the shared role trust (needs a pod roll).REGISTRY_CHANGESET_SYNC_*vars, image bump, DB migration, backlog handling.Open items
api.publisher.credentialengine.org), tenant mapping force_registry/fdoe, allowlist of egress107.21.182.55(same as sandbox — likely already done). Pending Cary.Note on the CI plan
A full plan here will also show the pre-existing Phase 2 drift (db-dumps policy,
ng_sandbox_largemin_size, rds-sandbox SG) — those are not from this PR.