1
0
mirror of https://github.com/quay/quay.git synced 2026-01-29 08:42:15 +03:00
Commit Graph

6 Commits

Author SHA1 Message Date
Syed Ahmed
93c816b2b7 cdn: add namespace and username to CDN redirect for usage calculation (PROJQUAY-5939) (#2616)
* cdn: add namespace and username to CDN redirect for usage calculation (PROJQUAY-5939)

We use the referer header to infer the namespace but that
is not always reliable as some clients don't add that header
when sending the request to the CDN
2024-01-18 10:39:18 -05:00
Syed Ahmed
ad0d979c48 storage: pass S3 region to S3Storage init (PROJQUAY-6375) (#2459)
storage: pass S3 region to S3Storage init (PROJQUAY-6375)

This is needed for correctly signing URLs for CloudFlare
2023-11-07 10:15:11 -05:00
Kenny Lee Sin Cheong
5f63b3a7bb chore: drop deprecated tables and remove unused code (PROJQUAY-522) (#2089)
* chore: drop deprecated tables and remove unused code

* isort imports

* migration: check for table existence before drop
2023-08-25 12:17:24 -04:00
Syed Ahmed
705ea386d2 Add S3 Region to CloudFlare URL (PROJQUAY-3512) (#1630)
This will be used by the CloudFlare worker to redirect
to the correct S3 origin bucket
2022-11-21 11:59:21 -05:00
Syed Ahmed
f4d9dda27d storage: Add **kwargs to get_direct_download_url for CloudFlare storage (PROJQUAY-3512) (#1594)
We are passing extra params like `username` which need to be accepted by
the CloudFlare storage provider
2022-10-25 14:45:25 -04:00
Syed Ahmed
407355691b storage: Add Cloudflare as a CDN provider for an S3 backed storage (PROJQUAY-3699) (#1294)
storage: Add Cloudflare as a CDN provider for an S3 backed storage (PROJQUAY-3699)

This adds CloudFlare as a CDN provider for quay for any storage backed
by S3. This requires a worker script that needs to be setup seperately
on CloudFlare. More details on the worker at
https://github.com/quay/quay-cloudflare-cdn-worker
2022-10-13 10:17:34 -04:00