Skip to content

Commit 0df1ccd

Browse files
authored
Merge branch 'develop' into bo/dataeng-873-upgrade-wrappers-to-v045
2 parents 7446d99 + dc011e6 commit 0df1ccd

File tree

5 files changed

+29
-23
lines changed

5 files changed

+29
-23
lines changed

Dockerfile-kubernetes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM alpine:3.21
22

33
ADD ./output-cloudimg/packer-cloudimg /disk/focal.qcow2
44

5-
RUN apk add --no-cache qemu-system-aarch64 qemu-img openssh-client nftables cloud-utils-localds aavmf
5+
RUN apk add --no-cache qemu-system-aarch64 qemu-img openssh-client nftables cloud-utils-localds aavmf virtiofsd
66
# dev stuff
77
# RUN apk add --no-cache iproute2
88

ansible/files/postgresql_config/supautils.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ supautils.privileged_extensions = 'address_standardizer, address_standardizer_da
99
supautils.privileged_extensions_custom_scripts_path = '/etc/postgresql-custom/extension-custom-scripts'
1010
supautils.privileged_extensions_superuser = 'supabase_admin'
1111
supautils.privileged_role = 'postgres'
12-
supautils.privileged_role_allowed_configs = 'auto_explain.*, log_lock_waits, log_min_duration_statement, log_min_messages, log_statement, log_temp_files, pg_net.batch_size, pg_net.ttl, pg_stat_statements.*, pgaudit.log, pgaudit.log_catalog, pgaudit.log_client, pgaudit.log_level, pgaudit.log_relation, pgaudit.log_rows, pgaudit.log_statement, pgaudit.log_statement_once, pgaudit.role, pgrst.*, plan_filter.*, safeupdate.enabled, session_replication_role, track_io_timing, wal_compression'
12+
supautils.privileged_role_allowed_configs = 'auto_explain.*, log_lock_waits, log_min_duration_statement, log_min_messages, log_replication_commands, log_statement, log_temp_files, pg_net.batch_size, pg_net.ttl, pg_stat_statements.*, pgaudit.log, pgaudit.log_catalog, pgaudit.log_client, pgaudit.log_level, pgaudit.log_relation, pgaudit.log_rows, pgaudit.log_statement, pgaudit.log_statement_once, pgaudit.role, pgrst.*, plan_filter.*, safeupdate.enabled, session_replication_role, track_io_timing, wal_compression'
1313
supautils.reserved_memberships = 'pg_read_server_files, pg_write_server_files, pg_execute_server_program, supabase_admin, supabase_auth_admin, supabase_storage_admin, supabase_read_only_user, supabase_realtime_admin, supabase_replication_admin, dashboard_user, pgbouncer, authenticator'
1414
supautils.reserved_roles = 'supabase_admin, supabase_auth_admin, supabase_storage_admin, supabase_read_only_user, supabase_realtime_admin, supabase_replication_admin, dashboard_user, pgbouncer, service_role*, authenticator*, authenticated*, anon*'

ansible/vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ postgres_major:
99
# Full version strings for each major version
1010
postgres_release:
1111
postgresorioledb-17: "17.0.1.044-orioledb"
12-
postgres15: "15.8.1.050"
12+
postgres15: "15.8.1.052"
1313

1414
# Non Postgres Extensions
1515
pgbouncer_release: "1.19.0"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-- migrate:up
2+
alter function pgbouncer.get_auth owner to supabase_admin;
3+
grant execute on function pgbouncer.get_auth(p_usename text) to postgres;
4+
5+
-- migrate:down

nix/tests/expected/security.out

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,25 @@ from pg_catalog.pg_proc p
77
where p.proowner = (select oid from pg_catalog.pg_roles where rolname = 'supabase_admin')
88
and p.prosecdef = true
99
order by 1,2;
10-
nspname | proname
11-
----------+--------------------------------
12-
graphql | get_schema_version
13-
graphql | increment_schema_version
14-
pgsodium | disable_security_label_trigger
15-
pgsodium | enable_security_label_trigger
16-
pgsodium | get_key_by_id
17-
pgsodium | get_key_by_name
18-
pgsodium | get_named_keys
19-
pgsodium | mask_role
20-
pgsodium | update_mask
21-
public | dblink_connect_u
22-
public | dblink_connect_u
23-
public | pgaudit_ddl_command_end
24-
public | pgaudit_sql_drop
25-
public | st_estimatedextent
26-
public | st_estimatedextent
27-
public | st_estimatedextent
28-
repack | repack_trigger
29-
(17 rows)
10+
nspname | proname
11+
-----------+--------------------------------
12+
graphql | get_schema_version
13+
graphql | increment_schema_version
14+
pgbouncer | get_auth
15+
pgsodium | disable_security_label_trigger
16+
pgsodium | enable_security_label_trigger
17+
pgsodium | get_key_by_id
18+
pgsodium | get_key_by_name
19+
pgsodium | get_named_keys
20+
pgsodium | mask_role
21+
pgsodium | update_mask
22+
public | dblink_connect_u
23+
public | dblink_connect_u
24+
public | pgaudit_ddl_command_end
25+
public | pgaudit_sql_drop
26+
public | st_estimatedextent
27+
public | st_estimatedextent
28+
public | st_estimatedextent
29+
repack | repack_trigger
30+
(18 rows)
3031

0 commit comments

Comments
 (0)