forked from LaconicNetwork/kompose
#### What type of PR is this? <!-- Add one of the following kinds: /kind bug /kind documentation /kind feature --> /kind cleanup #### What this PR does / why we need it: Removes the network policy annotation which is not needed (we are not generating network policy) #### Which issue(s) this PR fixes: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes https://github.com/kubernetes/kompose/issues/1759 #### Special notes for your reviewer:
27 lines
552 B
YAML
27 lines
552 B
YAML
---
|
|
apiVersion: batch/v1
|
|
kind: CronJob
|
|
metadata:
|
|
labels:
|
|
io.kompose.service: challenge
|
|
name: challenge
|
|
spec:
|
|
concurrencyPolicy: Forbid
|
|
jobTemplate:
|
|
spec:
|
|
backoffLimit: 0
|
|
template:
|
|
metadata:
|
|
labels:
|
|
io.kompose.service: challenge
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- bash
|
|
- -c
|
|
- echo hello from cron
|
|
image: busybox:stable-glibc
|
|
name: challenge
|
|
restartPolicy: Never
|
|
schedule: '* * * * *'
|