Skip to content

Commit a916d80

Browse files
committed
fix: maintains security hardening while allowing the infrastructure to manage pause/resume operations properly.
1 parent c4cd886 commit a916d80

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

ansible/files/postgresql_config/postgresql.service.j2

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ EnvironmentFile=-/etc/environment.d/postgresql.env
2323
LimitNOFILE=16384
2424
{% if supabase_internal is defined %}
2525
ProtectHome=yes
26-
ReadOnlyPaths=/etc /opt
27-
InaccessiblePaths=-/var/lib/supabase -/var/lib/supabase-admin-agent -/var/lib/cloud -/var/cache/supabase-admin-agent -/opt/saltstack -/etc/salt
26+
ReadOnlyPaths=/opt
27+
ReadWritePaths=/etc/wal-g /etc/postgresql-custom /etc/adminapi /etc/postgrest /etc/pgbouncer /etc/ssl/adminapi /etc/nftables
28+
InaccessiblePaths=-/var/lib/supabase -/var/lib/supabase-admin-agent -/var/cache/supabase-admin-agent -/opt/saltstack -/etc/salt
2829
{% endif %}
2930
[Install]
3031
WantedBy=multi-user.target

ansible/vars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ postgres_major:
1010

1111
# Full version strings for each major version
1212
postgres_release:
13-
postgresorioledb-17: "17.5.1.042-orioledb-plpgsql-3"
14-
postgres17: "17.6.1.021-plpgsql-3"
15-
postgres15: "15.14.1.021-plpgsql-3"
13+
postgresorioledb-17: "17.5.1.042-orioledb-plpgsql-4"
14+
postgres17: "17.6.1.021-plpgsql-4"
15+
postgres15: "15.14.1.021-plpgsql-4"
1616

1717
# Non Postgres Extensions
1818
pgbouncer_release: 1.19.0

0 commit comments

Comments
 (0)