Skip to content
Snippets Groups Projects
Verified Commit 07b6f7fb 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 5fadad40
No related branches found
No related tags found
No related merge requests found
...@@ -185,6 +185,18 @@ postgresqlSyncmailmapsConfiguration: ...@@ -185,6 +185,18 @@ postgresqlSyncmailmapsConfiguration:
secretKeyRef: swh-postgresql-syncmailmap-secret secretKeyRef: swh-postgresql-syncmailmap-secret
secretKeyName: postgres-syncmailmap-password 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: maskingAdminPostgresqlConfiguration:
cls: postgresql cls: postgresql
host: db1.internal.staging.swh.network host: db1.internal.staging.swh.network
......
...@@ -732,6 +732,17 @@ web: ...@@ -732,6 +732,17 @@ web:
priorityClassName: frontend-rpc-workload priorityClassName: frontend-rpc-workload
configurationRef: postgresqlSyncmailmapsConfiguration configurationRef: postgresqlSyncmailmapsConfiguration
pgService: true 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: ingress:
enabled: true enabled: true
secretName: swh-web-crt 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