ga4gh / ga4gh/task-execution-schemas
Add executor.imagePullPolicy to task creation payload
- Dominant language
- No language data
- Stars
- 95
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
Suggestion:
In the task creation endpoint payload, add to the `executor` definition an optional `imagePullPolicy` field which can be set to one of ["Always", "IfNotPresent", "Never"]. The default value can be defined by the server or specified in the spec.
```
{
"name": "string",
"executors": [
{
"image": "ubuntu:20.04",
"imagePullPolicy": "",
[...]
}
]
[...]
}
```
As a workaround, my server is currently accepting it as a task tag, which forces us to apply it to either _all_ or _none_ of a task's executors.
Contributor guide
Research direction
Start at the task creation endpoint schema and inspect the executor definition, since no repository file or test is named. Add the optional imagePullPolicy field with the three permitted values and an agreed default, then confirm that task creation payload validation accepts it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100