Skip to content

production: deploy blocking proxy in front of the main RW storage

Nicolas Dandrimont requested to merge mr/deploy-blocking-in-prod into production

Deploy the origin blocking proxy in production.

helm-diff output:

------------- diff for environment production namespace swh -------------

     _        __  __
   _| |_   _ / _|/ _|  between /tmp/swh-chart.swh.jLpTNRSj/production-swh.before, 427 documents
 / _' | | | | |_| |_       and /tmp/swh-chart.swh.jLpTNRSj/production-swh.after, 427 documents
| (_| | |_| |  _|  _|
 \__,_|\__, |_| |_|   returned four differences
        |___/

data.config.yml.template  (v1/ConfigMap/swh/storage-postgresql-winery-configuration-template)
  ± value change in multiline text (one insert, no deletions)
    +   - blocking_db: host=postgresql-blocking-rw.internal.softwareheritage.org port=5432
    +       user=swh-blocking dbname=swh-blocking password=${BLOCKING_ADMIN_PGPASSWORD}
    +     cls: blocking


spec.template.metadata.annotations.checksum/config  (apps/v1/Deployment/swh/storage-postgresql-winery)
  ± value change
    - 22daf6031d3964278c5d5ad0b03fac8d32f5de2326ba555079ccbcce6392edb5
    + e4d4f2f8385ba5a53daba8e15014329a1f058aeffb31742a8bf03da4f4a390c3

spec.template.spec.initContainers.prepare-configuration.env  (apps/v1/Deployment/swh/storage-postgresql-winery)
  + one list entry added:
    - name: BLOCKING_ADMIN_PGPASSWORD
    │ valueFrom:
    │ │ secretKeyRef:
    │ │ │ name: swh-postgresql-blocking-secret
    │ │ │ key: postgres-swh-blocking-password
    │ │ │ optional: false

spec.jobTemplate.spec.template.spec.initContainers.prepare-configuration.env  (batch/v1/CronJob/create-object-reference-partitions-cronjob)
  + one list entry added:
    - name: BLOCKING_ADMIN_PGPASSWORD
    │ valueFrom:
    │ │ secretKeyRef:
    │ │ │ name: swh-postgresql-blocking-secret
    │ │ │ key: postgres-swh-blocking-password
    │ │ │ optional: false

Merge request reports