Skip to content

Commit 63a917f

Browse files
committed
feat: r2 policy, disk and volume
1 parent 8683b8f commit 63a917f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

infra/clickhouse/config.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,11 @@
543543
<default>
544544
<keep_free_space_bytes>0</keep_free_space_bytes>
545545
</default>
546+
<r2_disk>
547+
<s3>
548+
<named_collection>r2_cloudflare_s3</named_collection>
549+
</s3>
550+
</r2_disk>
546551
</disks>
547552

548553
<policies>
@@ -553,6 +558,13 @@
553558
</main>
554559
</volumes>
555560
</default>
561+
<r2_policy>
562+
<volumes>
563+
<r2_volume>
564+
<disk>r2_disk</disk>
565+
</r2_volume>
566+
</volumes>
567+
</r2_policy>
556568
</policies>
557569
</storage_configuration>
558570

0 commit comments

Comments
 (0)