Commit 2269c1a
fix(composefs): merge default proxy opts for registry auth discovery
The composefs backend creates an ImageProxyConfig via
new_proxy_config() in three places but never calls
merge_default_container_proxy_opts(), so the global authfile
(e.g. /etc/ostree/auth.json) is never discovered. This causes
bootc upgrade, switch, and install to fail with "access denied
on private registries when using the composefs backend.
The ostree backend handles this correctly via ImageImporter::new()
which calls merge_default_container_proxy_opts() internally.
Signed-off-by: Peter Siegel <psiegel2000@icloud.com>1 parent 28b557c commit 2269c1a
3 files changed
Lines changed: 11 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
63 | | - | |
| 66 | + | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
| |||
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
123 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
124 | 130 | | |
125 | 131 | | |
126 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
| 321 | + | |
321 | 322 | | |
322 | 323 | | |
323 | 324 | | |
| |||
0 commit comments