8000 feat: update envoy lds with origin protection keys (#1403) · hscmgroup/postgres@82b96e0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 82b96e0

Browse files
authored
feat: update envoy lds with origin protection keys (supabase#1403)
1 parent e60f71e commit 82b96e0

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

ansible/files/envoy_config/lds.supabase.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,25 @@ resources:
8282
name: ':path'
8383
string_match:
8484
contains: apikey=supabase_admin_key
85+
origin_protection_key_missing:
86+
permissions:
87+
- any: true
88+
principals:
89+
- not_id:
90+
header:
91+
name: sb-opk
92+
present_match: true
93+
origin_protection_key_not_valid:
94+
permissions:
95+
- any: true
96+
principals:
97+
- not_id:
98+
or_ids:
99+
ids:
100+
- header:
101+
name: sb-opk
102+
string_match:
103+
exact: supabase_origin_protection_key
85104
- name: envoy.filters.http.lua
86105
typed_config:
87106
'@type': >-

ansible/vars.yml

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

1010
# Full version strings for each major version
1111
postgres_release:
12-
postgresorioledb-17: "17.0.1.016-orioledb"
13-
postgres15: "15.8.1.026"
14-
postgres16: "16.3.1.032"
12+
postgresorioledb-17: "17.0.1.017-orioledb"
13+
postgres15: "15.8.1.027"
14+
postgres16: "16.3.1.033"
1515

1616
# Non Postgres Extensions
1717
pgbouncer_release: "1.19.0"

0 commit comments

Comments
 (0)
0