Skip to content

Commit

Permalink
feat: update envoy lds with origin protection keys (#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
hf authored Jan 13, 2025
1 parent e60f71e commit 82b96e0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
19 changes: 19 additions & 0 deletions ansible/files/envoy_config/lds.supabase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,25 @@ resources:
name: ':path'
string_match:
contains: apikey=supabase_admin_key
origin_protection_key_missing:
permissions:
- any: true
principals:
- not_id:
header:
name: sb-opk
present_match: true
origin_protection_key_not_valid:
permissions:
- any: true
principals:
- not_id:
or_ids:
ids:
- header:
name: sb-opk
string_match:
exact: supabase_origin_protection_key
- name: envoy.filters.http.lua
typed_config:
'@type': >-
Expand Down
6 changes: 3 additions & 3 deletions ansible/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ postgres_major:

# Full version strings for each major version
postgres_release:
postgresorioledb-17: "17.0.1.016-orioledb"
postgres15: "15.8.1.026"
postgres16: "16.3.1.032"
postgresorioledb-17: "17.0.1.017-orioledb"
postgres15: "15.8.1.027"
postgres16: "16.3.1.033"

# Non Postgres Extensions
pgbouncer_release: "1.19.0"
Expand Down

0 comments on commit 82b96e0

Please sign in to comment.