diff --git a/containers/db_cleanup/cleanup.js b/containers/db_cleanup/cleanup.js index cdb0baa..404e376 100644 --- a/containers/db_cleanup/cleanup.js +++ b/containers/db_cleanup/cleanup.js @@ -14,7 +14,7 @@ const pg = require('knex')({ connection: { host: process.env.DB_HOST, port: process.env.DB_PORT, - user: process.env.DB_USERNAME, + user: process.env.DB_USER, database: process.env.DB_NAME, password: process.env.DB_PASSWORD, }, diff --git a/containers/db_cleanup/openshift/templates/db-cleanup-dc.yaml b/containers/db_cleanup/openshift/templates/db-cleanup-dc.yaml index 7d9fc57..282ae7c 100644 --- a/containers/db_cleanup/openshift/templates/db-cleanup-dc.yaml +++ b/containers/db_cleanup/openshift/templates/db-cleanup-dc.yaml @@ -70,7 +70,7 @@ objects: spec: # schedule: "30 2 * * SUN" # Different schedule for test purposes - schedule: "*/10 * * * *" + schedule: "*/5 * * * *" startingDeadlineSeconds: 200 concurrencyPolicy: Forbid successfulJobsHistoryLimit: 3