mount media-data share

parent dc2eab67
Pipeline #17930 passed with stages
in 1 minute and 56 seconds
......@@ -6,7 +6,7 @@ metadata:
labels:
app: urlchecker-app
spec:
schedule: "0 1 * * *"
schedule: "0 0 * * *" # Mind UTC time!
concurrencyPolicy: Forbid
jobTemplate:
spec:
......@@ -25,9 +25,14 @@ spec:
volumeMounts:
- name: config
mountPath: /app/configs
- name: media-volume
mountPath: /data
command: ["/app/app", "-cfg", "/app/configs/memocrawler.toml"]
restartPolicy: OnFailure
volumes:
- name: config
configMap:
name: urlchecker-config
- name: media-volume
persistentVolumeClaim:
claimName: media-volume-claim
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment