Add CronJob to refvars transformer

This commit is contained in:
Maximilian Gaß
2018-06-25 10:38:07 +02:00
parent 5b67b580f2
commit 2a06a174e8
5 changed files with 79 additions and 0 deletions

View File

@@ -192,6 +192,27 @@ spec:
requests:
storage: 1Gi
---
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: dev-base-cronjob-example
spec:
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
containers:
- command:
- echo
- dev-base-cockroachdb
env:
- name: CDB_PUBLIC_SVC
value: dev-base-cockroachdb-public
image: cockroachdb/cockroach:v1.1.5
name: cronjob-example
schedule: '*/1 * * * *'
---
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata: