zalando / spilo

Highly available elephant herd: HA PostgreSQL cluster using Docker
Apache License 2.0
1.53k stars 382 forks source link

S3 storage class configuration doesn't take effect #864

Open bootc opened 1 year ago

bootc commented 1 year ago

The WALG_S3_STORAGE_CLASS environment variable is missing from the s3_names list in postgres-appliance/scripts/configure_spilo.py:

https://github.com/zalando/spilo/blob/a86778bd601c4f6de98db9d207a8c1e6af31c984/postgres-appliance/scripts/configure_spilo.py#L772-L775

Consequently WAL pushes and backups don't use the configured storage class.