add restricted deploy sudo policy
This commit is contained in:
1 parent
0f2dee08cb
commit
5d302dce5c
2 files changed
+2
No files matched your search
@@ -14,6 +14,7 @@
|
|||||||
| Nginx upstream | `/etc/nginx/conf.d/10-warehouse-allocation-upstream.conf` |
|
| Nginx upstream | `/etc/nginx/conf.d/10-warehouse-allocation-upstream.conf` |
|
||||||
| Restricted account | `warehouse-deploy` |
|
| Restricted account | `warehouse-deploy` |
|
||||||
| Deployment program | `/usr/local/sbin/warehouse-allocation-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
|
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
|
run briefly, allowing Nginx to switch without an API interruption. Redis and its
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
warehouse-deploy ALL=(root) NOPASSWD: /usr/local/sbin/warehouse-allocation-deploy
|
||||||
Reference in new issue
Block a user