Skip to content

fix(canopy): set PGRO_REGION on the proxy sidecar from creds Secret#85

Merged
passcod merged 1 commit into
mainfrom
fix/canopy-proxy-region
Jul 2, 2026
Merged

fix(canopy): set PGRO_REGION on the proxy sidecar from creds Secret#85
passcod merged 1 commit into
mainfrom
fix/canopy-proxy-region

Conversation

@passcod

@passcod passcod commented Jul 2, 2026

Copy link
Copy Markdown
Member

🤖 The canopy-proxy binary reads PGRO_REGION as a required env var so
it can sign outgoing S3 requests for the right region. Both the restore
Job builder and the snapshot-list Job builder were plumbing
PGRO_BROKER_URL / PGRO_GROUP / PGRO_TYPE /
PGRO_STATS_CALLBACK_URL but had lost PGRO_REGION in the #82
refactor. Sidecar exited at startup with

canopy-proxy: PGRO_REGION not set

and the kopia container's port-file wait timed out.

Region already lives on the namespace-local canopy-creds Secret the
syncer materialises (data.region), so wire it via
env_from_secret_name rather than adding a new field to KopiaSource /
CanopySource.

The canopy-proxy binary reads PGRO_REGION as a required env var to sign
outgoing S3 requests for the right region. Both the restore Job builder
and the snapshot-list Job builder were plumbing PGRO_BROKER_URL /
PGRO_GROUP / PGRO_TYPE / PGRO_STATS_CALLBACK_URL but had lost
PGRO_REGION in the refactor. Sidecar exited at startup with
'canopy-proxy: PGRO_REGION not set' and the kopia container's
port-file wait timed out.

Region already lives on the namespace-local canopy-creds Secret the
syncer materialises (`data.region`), so wire it via env_from_secret_name
rather than adding a new field to KopiaSource / CanopySource.
@passcod passcod merged commit 9fca724 into main Jul 2, 2026
17 checks passed
@passcod passcod deleted the fix/canopy-proxy-region branch July 2, 2026 00:29
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