File tree Expand file tree Collapse file tree 4 files changed +20
-68
lines changed Expand file tree Collapse file tree 4 files changed +20
-68
lines changed Original file line number Diff line number Diff line change @@ -37,51 +37,6 @@ resources:
37
37
rules :
38
38
action : DENY
39
39
policies :
40
- api_key_missing :
41
- permissions :
42
- - any : true
43
- principals :
44
- - not_id :
45
- or_ids :
46
- ids :
47
- - header :
48
- name : apikey
49
- present_match : true
50
- - header :
51
- name : ' :path'
52
- string_match :
53
- contains : apikey=
54
- api_key_not_valid :
55
- permissions :
56
- - any : true
57
- principals :
58
- - not_id :
59
- or_ids :
60
- ids :
61
- - header :
62
- name : apikey
63
- string_match :
64
- exact : anon_key
65
- - header :
66
- name : apikey
67
- string_match :
68
- exact : service_key
69
- - header :
70
- name : apikey
71
- string_match :
72
- exact : supabase_admin_key
73
- - header :
74
- name : ' :path'
75
- string_match :
76
- contains : apikey=anon_key
77
- - header :
78
- name : ' :path'
79
- string_match :
80
- contains : apikey=service_key
81
- - header :
82
- name : ' :path'
83
- string_match :
84
- contains : apikey=supabase_admin_key
85
40
origin_protection_key_missing :
86
41
permissions :
87
42
- any : true
@@ -234,6 +189,10 @@ resources:
234
189
prefix : /metrics/aggregated
235
190
invert_match : true
236
191
status_code : 401
192
+ headers_to_add :
193
+ - header :
194
+ key : x-sb-error-code
195
+ value : ' %RESPONSE_CODE_DETAILS%'
237
196
body_format_override :
238
197
json_format :
239
198
message : >-
@@ -383,24 +342,6 @@ resources:
383
342
route :
384
343
cluster : admin_api
385
344
prefix_rewrite : /privileged/
386
- typed_per_filter_config :
387
- envoy.filters.http.rbac :
388
- '@type' : >-
389
- type.googleapis.com/envoy.extensions.filters.http.rbac.v3.RBACPerRoute
390
- rbac :
391
- rules :
392
- action : DENY
393
- policies :
394
- basic_auth :
395
- permissions :
396
- - any : true
397
- principals :
398
- - header :
399
- name : authorization
400
- invert_match : true
401
- string_match :
402
- exact : Basic c2VydmljZV9yb2xlOnNlcnZpY2Vfa2V5
403
- treat_missing_header_as_empty : true
404
345
- match :
405
346
prefix : /metrics/aggregated
406
347
request_headers_to_remove :
Original file line number Diff line number Diff line change @@ -215,6 +215,10 @@ resources:
215
215
prefix : /metrics/aggregated
216
216
invert_match : true
217
217
status_code : 401
218
+ headers_to_add :
219
+ - header :
220
+ key : x-sb-error-code
221
+ value : ' %RESPONSE_CODE_DETAILS%'
218
222
body_format_override :
219
223
json_format :
220
224
message : >-
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ postgres_major:
8
8
9
9
# Full version strings for each major version
10
10
postgres_release :
11
- postgresorioledb-17 : " 17.0.1.040 -orioledb"
11
+ postgresorioledb-17 : " 17.0.1.042 -orioledb"
12
12
postgres15 : " 15.8.1.047"
13
13
14
14
# Non Postgres Extensions
Original file line number Diff line number Diff line change @@ -6,11 +6,18 @@ set -o pipefail
6
6
set -o xtrace
7
7
8
8
function install_packages {
9
- # Setup Ansible on host VM
10
- sudo apt-get update && sudo apt-get install software-properties-common -y
11
- sudo add-apt-repository --yes --update ppa:ansible/ansible && sudo apt-get install ansible -y
12
- ansible-galaxy collection install community.general
9
+ # Setup Ansible on host VM
10
+ sudo apt-get update && sudo apt-get install -y software-properties-common
13
11
12
+ # Manually add GPG key with explicit keyserver
13
+ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367
14
+
15
+ # Add repository and install
16
+ sudo add-apt-repository --yes ppa:ansible/ansible
17
+ sudo apt-get update
18
+ sudo apt-get install -y ansible
19
+
20
+ ansible-galaxy collection install community.general
14
21
}
15
22
16
23
You can’t perform that action at this time.
0 commit comments