Tecnativa / Tecnativa/docker-socket-proxy
ALLOW_RESTARTS doesn't work
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 207
- PR merge metrics
- No merged PRs in 30d
Description
If I set the environment variable ALLOW_RESTARTS=1 then permission is still denied for any stop/restart/kill operation due to them all being POST methods (blocked by default).
If I set the environment variable POST=1 then stop/restart/kill operations work even if ALLOW_RESTARTS=0.
Is this a bug or is ALLOW_RESTARTS a depreciated configuration? It is not in the README.md but it is still in the haproxy.cfg.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the ALLOW_RESTARTS and POST settings in haproxy.cfg with the documented configuration in README.md. Reproduce the stop, restart, and kill requests with each environment variable enabled or disabled, then update the configuration or documentation so the intended permission behavior is consistent and verifiable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- security
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100