Skip to content

Commit c8fc1dd

Browse files
authored
chore: bump admin API and admin-mgr (#710)
* chore: bump adminapi && adminmgr * chore: update adminapi sudoers * chore: bump version * chore: bump version * chore: pitr.log by default
1 parent b2e9efa commit c8fc1dd

File tree

7 files changed

+9
-7
lines changed

7 files changed

+9
-7
lines changed

ansible/files/adminapi.sudoers.conf

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Cmnd_Alias PGBOUNCER = /bin/systemctl start pgbouncer.service, /bin/systemctl st
1414
%adminapi ALL= NOPASSWD: /usr/bin/systemctl daemon-reload
1515
%adminapi ALL= NOPASSWD: /usr/bin/systemctl reload postgresql.service
1616
%adminapi ALL= NOPASSWD: /usr/bin/systemctl restart postgresql.service
17+
%adminapi ALL= NOPASSWD: /usr/bin/systemctl show -p NRestarts postgresql.service
1718
%adminapi ALL= NOPASSWD: /usr/bin/systemctl restart adminapi.service
1819
%adminapi ALL= NOPASSWD: /bin/systemctl daemon-reload
1920
%adminapi ALL= NOPASSWD: /bin/systemctl restart services.slice

ansible/vars.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ postgres_exporter_release_checksum:
4141
arm64: sha256:d869c16791481dc8475487ad84ae4371a63f9b399898ca1c666eead5cccf7182
4242
amd64: sha256:ff541bd3ee19c0ae003d71424a75edfcc8695e828dd20d5b4555ce433c89d60b
4343

44-
adminapi_release: 0.46.0
45-
adminmgr_release: 0.5.0
44+
adminapi_release: 0.48.0
45+
adminmgr_release: 0.9.0
4646

4747
# Postgres Extensions
4848
postgis_release: "3.3.2"

common.vars.pkr.hcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.1.0.107"
1+
postgres-version = "15.1.0.108"

docker/all-in-one/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ ARG pgbouncer_release=1.18.0
44
ARG postgrest_release=10.1.2
55
ARG gotrue_release=2.47.0
66
ARG kong_release=2.8.1
7-
ARG adminapi_release=0.46.0
8-
ARG adminmgr_release=0.5.0
7+
ARG adminapi_release=0.48.0
8+
ARG adminmgr_release=0.9.0
99
ARG vector_release=0.22.3
1010
ARG postgres_exporter_release=0.9.0
1111

docker/all-in-one/etc/sudoers.d/adminapi

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Cmnd_Alias PGBOUNCER = /usr/bin/supervisorctl start pgbouncer, /usr/bin/supervis
1414
%adminapi ALL= NOPASSWD: /usr/bin/supervisorctl reread
1515
%adminapi ALL= NOPASSWD: /usr/bin/supervisorctl update
1616
%adminapi ALL= NOPASSWD: /usr/bin/supervisorctl restart postgresql
17+
%adminapi ALL= NOPASSWD: /usr/bin/supervisorctl status postgresql
1718
%adminapi ALL= NOPASSWD: /usr/bin/supervisorctl restart adminapi
1819
%adminapi ALL= NOPASSWD: /usr/bin/supervisorctl restart services\:*
1920
%adminapi ALL= NOPASSWD: /usr/sbin/nft -f /etc/nftables/supabase_managed.conf

ebssurrogate/scripts/surrogate-bootstrap.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ function clean_system {
257257

258258
# Setup wal-g logs
259259
mkdir /mnt/var/log/wal-g
260-
touch /mnt/var/log/wal-g/{backup-push.log,backup-fetch.log,wal-push.log,wal-fetch.log}
260+
touch /mnt/var/log/wal-g/{backup-push.log,backup-fetch.log,wal-push.log,wal-fetch.log,pitr.log}
261261

262262
if [ -f /usr/bin/chown ]; then
263263
chroot /mnt /usr/bin/chown -R postgres:postgres /var/log/wal-g

scripts/91-log_cleanup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ chown postgres:postgres /var/log/postgresql
1515

1616
mkdir /var/log/wal-g
1717
cd /var/log/wal-g
18-
touch backup-push.log backup-fetch.log wal-push.log wal-fetch.log
18+
touch backup-push.log backup-fetch.log wal-push.log wal-fetch.log pitr.log
1919
chown -R postgres:postgres /var/log/wal-g
2020
chmod -R 0300 /var/log/wal-g
2121

0 commit comments

Comments
 (0)