Commit 0b28255
committed
Re-read agent.toml on ACME retry in bootroot-agent
After secrets are rotated and OpenBao Agent renders new values to
agent.toml, the ACME retry loop previously reused stale in-memory
config. Each retry attempt now re-reads config from disk so that
freshly rendered credentials (EAB, HMAC) are picked up without
restarting the daemon.
The default retry backoff window is also extended from [5, 10, 30] s
(45 s total) to [5, 10, 30, 60] s (105 s total), giving at least one
full static_secret_render_interval cycle (30 s) of headroom before
retries are exhausted.
Closes #3031 parent 6b43acd commit 0b28255
3 files changed
Lines changed: 24 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
260 | 261 | | |
261 | 262 | | |
| 263 | + | |
| 264 | + | |
262 | 265 | | |
263 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
264 | 284 | | |
265 | 285 | | |
266 | 286 | | |
| |||
377 | 397 | | |
378 | 398 | | |
379 | 399 | | |
380 | | - | |
| 400 | + | |
381 | 401 | | |
382 | 402 | | |
383 | 403 | | |
| |||
0 commit comments