forked from mtusi2026/mtusi2026lab7
Добавить стенд лабораторной 7 с mTLS, OpenBao и least privilege worker.
Закрывает обязательный минимум и трек 1: ротация leaf и секрета, sealed OpenBao и сохранность queued-задачи.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
Local fault-injection files. They are not present by default, so the API behaves normally.
|
||||
|
||||
Write one of these names in this directory while the stack is running:
|
||||
|
||||
- `http_error_ratio` — float 0..1, fraction of `/api/` requests that return 500
|
||||
- `db_slow_ms` — delay added inside the `db.transaction` span
|
||||
- `db_fail` — `1` makes database calls return 503
|
||||
- `handler_slow_ms` — delay inside the HTTP server span and outside the database span
|
||||
- `process_fail_remaining` — positive integer, worker fails that many processing attempts once each
|
||||
|
||||
Do not put secrets here. The worker must be able to update `process_fail_remaining`.
|
||||
Reference in New Issue
Block a user