Skip to content

Commit

Permalink
RHINENG-1162: add missing read replica envs for package refresh job
Browse files Browse the repository at this point in the history
  • Loading branch information
psegedy committed Jul 12, 2023
1 parent a7e18c0 commit 3f4478d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy/clowdapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,11 @@ objects:
- {name: DB_USER, value: vmaas_sync}
- {name: DB_PASSWD, valueFrom: {secretKeyRef: {name: patchman-engine-database-passwords,
key: vmaas-sync-database-password}}}
- {name: DB_HOST_READ_REPLICA, valueFrom: {secretKeyRef: {key: db.host,
name: patchman-db-readonly}}}
- {name: DB_PORT_READ_REPLICA, valueFrom: {secretKeyRef: {key: db.port,
name: patchman-db-readonly}}}
- {name: DB_READ_REPLICA_ENABLED, value: '${DB_READ_REPLICA_ENABLED_JOBS}'}
- {name: PROMETHEUS_PUSHGATEWAY,value: '${PROMETHEUS_PUSHGATEWAY}'}

- name: advisory-refresh
Expand Down Expand Up @@ -644,6 +649,7 @@ parameters:
- {name: DB_DEBUG_JOBS, value: 'false'}
- {name: JOBS_TIMEOUT, value: '1800'} # 30 min timeout for jobs
- {name: PROMETHEUS_PUSHGATEWAY, required: true, value: "pushgateway"}
- {name: DB_READ_REPLICA_ENABLED_JOBS, value: 'TRUE'}

# VMaaS sync
- {name: VMAAS_SYNC_SCHEDULE, value: '*/5 * * * *'} # Cronjob schedule definition
Expand Down

0 comments on commit 3f4478d

Please sign in to comment.