rename jellyfin to helm
This commit is contained in:
18
helm/templates/cronjob.yaml
Normal file
18
helm/templates/cronjob.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
{{ if .Values.install.jf_detector }}
|
||||
apiVersion: batch/v1beta1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: jf-detector
|
||||
spec:
|
||||
schedule: "*/1 * * * *"
|
||||
successfulJobsHistoryLimit: 1
|
||||
failedJobsHistoryLimit: 1
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: jf-detector
|
||||
image: {{ .Values.jf_detector.image }}
|
||||
restartPolicy: Never
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user