Commit 03f6799
committed
fix(canopy): set PGRO_REGION on the proxy sidecar from creds Secret
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.1 parent 7dbcaf2 commit 03f6799
2 files changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
216 | 224 | | |
217 | 225 | | |
218 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
821 | 821 | | |
822 | 822 | | |
823 | 823 | | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
824 | 832 | | |
825 | 833 | | |
826 | 834 | | |
| |||
0 commit comments