Skip to content

Commit

Permalink
test persistent
Browse files Browse the repository at this point in the history
  • Loading branch information
hannah-macdonald1 committed Feb 2, 2024
1 parent ac3851a commit 4d9a693
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions containers/db_cleanup/openshift/templates/db-cleanup-dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ objects:
metadata:
name: db-cleanup-cronjob
spec:
# schedule: "30 2 * * SUN"
schedule: "30 2 * * SUN"
# Different schedule for test purposes
schedule: "*/5 * * * *"
# schedule: "*/5 * * * *"
startingDeadlineSeconds: 200
concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 3
Expand All @@ -87,6 +87,9 @@ objects:
- name: db-cleanup-container
image: "image-registry.openshift-image-registry.svc:5000/c82b4c-tools/db-cleanup-tools"
imagePullPolicy: Always
volumeMounts:
- mountPath: "/deleted"
name: deleted
env: # Use environment variables for Secret values
- name: DB_NAME
valueFrom:
Expand Down

0 comments on commit 4d9a693

Please sign in to comment.