add restricted deploy sudo policy

This commit is contained in:
Meghdad committed 2026-07-23 08:18:29 +03:30
1 parent 0f2dee08cb
commit 5d302dce5c
2 files changed
+2

No files matched your search

+1
View File
@@ -14,6 +14,7 @@
| Nginx upstream | `/etc/nginx/conf.d/10-warehouse-allocation-upstream.conf` |
| Restricted account | `warehouse-deploy` |
| Deployment program | `/usr/local/sbin/warehouse-allocation-deploy` |
| Sudo policy | `/etc/sudoers.d/warehouse-allocation-deploy` |
Only one API slot receives traffic after a deployment. During cutover both slots
run briefly, allowing Nginx to switch without an API interruption. Redis and its