feat: add global "ALLOWED_TASKS" variable

This commit is contained in:
jar3b
2019-12-28 17:10:18 +03:00
parent dd3c3eeb85
commit cd5ad5d1ab
6 changed files with 57 additions and 12 deletions

View File

@@ -24,6 +24,14 @@ arguments:
- `/healthz` - health endpoint, returns code `200` with text `OK`. Useful for kubernetes pods ready/live probes.
## global env variables
- `ALLOWED_TASKS` - list comma-separated task names, only tasks with these names will be processed. example:
```
ALLOWED_TASKS=sleep,hello_world
```
## config format
example: