Commit 9aafd06
Update cronjob examples to allow entrypoint images
**What**
- Move the `/bin/sh` to the `command` field so that it defines the
container entrypoint as the shell. This is the most robust way to
define these jobs and supports the new `faas-cli` docker image that
sets `faas-cli` as the entrypoint
- Reference https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>1 parent 2090ed1 commit 9aafd06
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
175 | | - | |
| 176 | + | |
176 | 177 | | |
| 178 | + | |
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
| |||
0 commit comments