forked from mtusi2026/mtusi2026lab7
fix: address telemetry-mtls verify findings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -14,6 +14,7 @@ from src.infra.tls.client import (
|
||||
CLEANER_STORAGES,
|
||||
MIGRATION_STORAGES,
|
||||
RELAY_STORAGES,
|
||||
REPLAY_STORAGES,
|
||||
WORKER_STORAGES,
|
||||
build_broker_context,
|
||||
build_client_context,
|
||||
@@ -36,6 +37,7 @@ __all__ = [
|
||||
"MIGRATION_STORAGES",
|
||||
"PROTOCOL_IMPORT_PATH",
|
||||
"RELAY_STORAGES",
|
||||
"REPLAY_STORAGES",
|
||||
"WORKER_STORAGES",
|
||||
"api_tls_problems",
|
||||
"build_broker_context",
|
||||
|
||||
@@ -47,6 +47,10 @@ API_STORAGES = ("database", "cache", "s3", "telemetry")
|
||||
WORKER_STORAGES = ("database", "s3", "broker", "telemetry")
|
||||
CLEANER_STORAGES = ("database", "s3")
|
||||
RELAY_STORAGES = ("database", "broker", "telemetry")
|
||||
# команда replay (`python -m src.relay replay`) — контейнер сервиса relay с
|
||||
# его файлами, но SDK она не запускает: секция telemetry не проверяется
|
||||
# (verify change telemetry-mtls, S2)
|
||||
REPLAY_STORAGES = ("database", "broker")
|
||||
MIGRATION_STORAGES = ("database",)
|
||||
# секции, у которых проверяются ещё файлы identity процесса и CRL
|
||||
BROKER_SECTION = "broker"
|
||||
|
||||
Reference in New Issue
Block a user