Commit 9bb3295
fix(consul-postgres-ha): generate Envoy bootstrap then exec, bypassing version check
Consul 1.19's `consul connect envoy` (without -bootstrap) tries to
exec envoy itself and rejects "Envoy version 1.30.x is not
supported" — the contrib-v1.30 image we use isn't on its
compatibility list. Going back to the original pattern:
`consul connect envoy ... -bootstrap > /tmp/envoy-X.json` to just
generate the JSON, then `exec envoy -c /tmp/envoy-X.json`. The
bootstrap config itself works fine; only the consul-launches-envoy
path enforces the version check. Restored the pattern for both the
webdemo and postgres sidecar Envoys, with a supervise loop that
re-bootstraps and restarts envoy if it ever exits.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2a6926c commit 9bb3295
1 file changed
Lines changed: 28 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
211 | 213 | | |
212 | | - | |
| 214 | + | |
213 | 215 | | |
214 | 216 | | |
215 | 217 | | |
216 | 218 | | |
217 | | - | |
218 | | - | |
219 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
220 | 226 | | |
221 | | - | |
| 227 | + | |
| 228 | + | |
222 | 229 | | |
223 | 230 | | |
224 | | - | |
225 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
226 | 237 | | |
227 | 238 | | |
228 | 239 | | |
229 | 240 | | |
230 | 241 | | |
231 | | - | |
232 | | - | |
| 242 | + | |
| 243 | + | |
233 | 244 | | |
234 | | - | |
| 245 | + | |
| 246 | + | |
235 | 247 | | |
236 | 248 | | |
237 | | - | |
238 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
239 | 255 | | |
240 | 256 | | |
241 | 257 | | |
| |||
0 commit comments