forked from LaconicNetwork/kompose
Add Labels for CronJob https://github.com/kubernetes/kompose/issues/1795
This commit is contained in:
1 parent
770da91eec
commit
cd6a318896
11 files changed
+255
-30
No files matched your search
@@ -0,0 +1,14 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
challenge:
|
||||
image: busybox:stable-glibc
|
||||
labels:
|
||||
kompose.cronjob.schedule: "* * * * *"
|
||||
kompose.cronjob.concurrency_policy: "Forbid"
|
||||
kompose.cronjob.backoff_limit: "0"
|
||||
command:
|
||||
- "bash"
|
||||
- "-c"
|
||||
- "echo hello from cron"
|
||||
restart: "no"
|
||||
Reference in new issue
Block a user