18 lines
386 B
Cheetah
Raw Normal View History

2025-01-24 13:55:49 +01:00
apiVersion: batch/v1
kind: CronJob
metadata:
name: pv-energy-calculator
spec:
2025-01-24 16:24:22 +01:00
schedule: "15 * * * *"
2025-01-24 13:55:49 +01:00
jobTemplate:
spec:
template:
spec:
2025-01-24 14:00:31 +01:00
restartPolicy: OnFailure
2025-01-24 13:55:49 +01:00
containers:
- name: pv-energy-calculator
image: %IMAGE%
envFrom:
- secretRef:
name: pv-energy-calculator