forked from org1/infra
hermes_squid: open docker_socket_proxy to full read-only scope (#4)
Flip CONTAINERS/IMAGES/NETWORKS/VOLUMES/SERVICES/TASKS/NODES from 0 to 1 so hermes-agent can inspect running stacks (read container logs, enumerate swarm services) without going through each node's shell. POST stays 0 — no container creation, no image builds, no exec into running containers. Anything that mutates state remains blocked at the proxy level. --------- Co-authored-by: admin <rudolfss13@gmail.com> Co-authored-by: hermes <hermes@rudolf.keenetic.link> Reviewed-on: http://192.168.1.96/admin/ansible/pulls/4 Co-authored-by: hermes <rudolfss13+hermes@gmail.com>
This commit is contained in:
@@ -169,13 +169,13 @@ services:
|
||||
# Anything else (POST, CONTAINERS, IMAGES, SERVICES, ...) must be explicitly
|
||||
# toggled to 1 by a consumer that has a reason to need it. NEVER widen the
|
||||
# scope from a generic change like this one.
|
||||
CONTAINERS: 0
|
||||
IMAGES: 0
|
||||
NETWORKS: 0
|
||||
VOLUMES: 0
|
||||
SERVICES: 0
|
||||
TASKS: 0
|
||||
NODES: 0
|
||||
CONTAINERS: 1
|
||||
IMAGES: 1
|
||||
NETWORKS: 1
|
||||
VOLUMES: 1
|
||||
SERVICES: 1
|
||||
TASKS: 1
|
||||
NODES: 1
|
||||
POST: 0
|
||||
ports:
|
||||
- target: 2375
|
||||
|
||||
Reference in New Issue
Block a user