lab7: цикл обновления секретов не зависит от bootCtx, маркеры сбоев на volume, восстановление staging по HTTPS, purge — остаточный риск

This commit is contained in:
2026-11-12 19:27:20 +03:00
parent 627b7ee42f
commit 049b2867a6
11 changed files with 39 additions and 18 deletions
+2 -1
View File
@@ -124,7 +124,8 @@ def main():
'worker DB role too broad: %s' % a['db'])
check(denied(a['s3'].get('put s/*')) and denied(a['s3'].get('get o/*')) and denied(a['s3'].get('list bucket'))
and denied(a['s3'].get('delete o/*')), 'worker S3 key too broad: %s' % a['s3'])
check(denied(a['amqp'].get('publish attachments (job)')) and denied(a['amqp'].get('purge attachment.process')),
check(denied(a['amqp'].get('publish attachments (job)')) and denied(a['amqp'].get('declare queue evil'))
and denied(a['amqp'].get('consume attachment.dead (DLQ)')),
'worker broker rights too broad: %s' % a['amqp'])
check(denied(a['api_as_lb'].get('result')), 'worker certificate accepted by API')