Skip to content
Snippets Groups Projects
Verified Commit 1ac2ecf8 authored by Vincent Sellier's avatar Vincent Sellier
Browse files

swh/staging: Activate sync mailmaps to masking proxy jobs

Related to swh/infra/sysadm-environment#5391
parent ec7fcaf3
No related branches found
No related tags found
No related merge requests found
......@@ -185,6 +185,18 @@ postgresqlSyncmailmapsConfiguration:
secretKeyRef: swh-postgresql-syncmailmap-secret
secretKeyName: postgres-syncmailmap-password
postgresqlSyncMaskinProxyMailmapsConfiguration:
cls: postgresql
host: db1.internal.staging.swh.network
port: '5432'
db: swh-masking
user: swhmailmap
pass: ${PGPASSWORD}
secrets:
PGPASSWORD:
secretKeyRef: swh-postgresql-syncmailmap-secret
secretKeyName: postgres-syncmailmap-password
maskingAdminPostgresqlConfiguration:
cls: postgresql
host: db1.internal.staging.swh.network
......
......@@ -732,6 +732,17 @@ web:
priorityClassName: frontend-rpc-workload
configurationRef: postgresqlSyncmailmapsConfiguration
pgService: true
syncMaskingMailmaps:
enabled: true
command:
- "sync_masking_mailmaps"
- "--perform"
- "service=syncmaskingmailmaps"
cron: "0 */1 * * *"
concurrencyPolicy: Forbid
configurationRef: postgresqlSyncMaskinProxyMailmapsConfiguration
pgService: true
priorityClassName: frontend-rpc-workload
ingress:
enabled: true
secretName: swh-web-crt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment