2026-01-16 20:33:37 +00:00
|
|
|
|
|
|
|
|
apiVersion: batch/v1
|
|
|
|
|
kind: CronJob
|
|
|
|
|
metadata:
|
|
|
|
|
name: news-analyst-gemini
|
|
|
|
|
namespace: customer1
|
|
|
|
|
|
|
|
|
|
spec:
|
|
|
|
|
schedule: "15 * * * *"
|
|
|
|
|
jobTemplate:
|
|
|
|
|
spec:
|
|
|
|
|
template:
|
|
|
|
|
spec:
|
|
|
|
|
containers:
|
|
|
|
|
- name: analyst-gemini
|
|
|
|
|
image: siriussec/summarizer:1.5
|
|
|
|
|
|
|
|
|
|
env:
|
|
|
|
|
- name: DB_PASSWORD
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
2026-03-22 19:24:53 +00:00
|
|
|
name: news-app-password
|
2026-01-16 20:33:37 +00:00
|
|
|
key: password
|
|
|
|
|
envFrom:
|
|
|
|
|
- configMapRef:
|
|
|
|
|
name: news-app-config
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- secretRef:
|
|
|
|
|
name: gemini-apikey
|
|
|
|
|
restartPolicy: OnFailure
|