Skip to content

Commit ec062c7

Browse files
committed
fix: create some compat aliases for services that look for config
will follow up with PR on these services to change where they look
1 parent d38602e commit ec062c7

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

ansible/tasks/setup-postgres.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,22 @@
175175
group: 'postgres'
176176
src: 'files/postgresql_config/conf.d/read_replica.conf'
177177

178+
- name: Create symlink for admin-mgr compatibility
179+
ansible.builtin.file:
180+
src: '/etc/postgresql-custom/conf.d/read_replica.conf'
181+
dest: '/etc/postgresql-custom/read-replica.conf'
182+
state: 'link'
183+
owner: 'postgres'
184+
group: 'postgres'
185+
186+
- name: Create symlink for supabase-admin-api compatibility
187+
ansible.builtin.file:
188+
src: '/etc/postgresql-custom/conf.d/custom_overrides.conf'
189+
dest: '/etc/postgresql-custom/custom-overrides.conf'
190+
state: 'link'
191+
owner: 'postgres'
192+
group: 'postgres'
193+
178194
# Install extensions before init
179195
- name: Install Postgres extensions
180196
ansible.builtin.import_tasks:

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.6.0.023-orioledb"
14-
postgres17: "17.6.1.066"
15-
postgres15: "15.14.1.066"
13+
postgresorioledb-17: "17.6.0.023-orioledb-path-1"
14+
postgres17: "17.6.1.066-path-1"
15+
postgres15: "15.14.1.066-path-1"
1616

1717
# Non Postgres Extensions
1818
pgbouncer_release: 1.19.0

0 commit comments

Comments
 (0)