1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Commit Graph

11 Commits

Author SHA1 Message Date
Ryan Wallace
4ac6522bd5 feat: add IRSA support when creating Quay.io clients (PROJQUAY-9228) (#4312) 2025-11-19 09:51:47 -05:00
Brandon Caton
14e3e4aeb2 deps: upgrading crypto and azure config-tool packages (PROJQUAY-9159) (#4180) 2025-08-08 10:56:17 -04:00
Mathieu Bouchard
acbe6c2278 [Feature] storage: Modify the STS S3 implementation of the storage backend to use Web Identity Tokens when available (PROJQUAY-8576) (#3670)
When deploying Quay in a Secure AWS environment, we can't use IAM Access Keys or Secrets since these credentials are often blocked for multiple reasons (credentials are long-lived, can be shared / stolen, etc.). So the preferred deployment method is to use an alternative method, like the Web Identity Token files that are automatically created in a Kubernetes cluster that has a federation link with IAM using the OIDC provider federation.

The current code of Quay force the use of an IAM account that is then used to assume another role that has S3 access to store the image files. The current pull request removes the need to use that IAM account and allows to directly assume the correct role using Web Identity Tokens while retaining compatibility with the old method of using IAM credentials.

The code relies on the automatic detection of the correct configurations using environment variables where possible. The code has been tested on an OpenShift cluster deployed using manual mode with AWS STS.
2025-03-13 14:44:24 -04:00
Marcus Kok
6e8855bc16 configtool: update go-jose package to 4.0.2 (PROJQUAY-6850) (#3413)
update go-jose package to 4.0.2
2024-12-02 10:28:51 -05:00
Ivan Bazulic
09a99f41c2 validator: Remove logging of database password (PROJQUAY-8059) (#3332)
This removes the logging of database password when debugging is enabled. Also adds additional debug statements, particularly when accessing storage.
2024-10-16 10:59:38 -04:00
Michaela Lang
0b894199cd storage(StorageClasses): support changing signature version for pre-signed URL (PROJQUAY-7491) (#3041)
Pre-signed URL's are only on the S3Storage Class configured vor s3v4 (hard coded). This adds the attribute signature_version to all StorageClass definitions to be configured individually. The behavior when not set defaults back to v2 for all StorageClasses except S3Storage which defaults to s3v4.
2024-07-24 09:12:20 -04:00
Brandon Caton
7ef664a646 autoprune: Registry level autopruning (PROJQUAY-7392) (#2950)
Allows for adding a default autopruning policy that will be applied to all namespaces.
2024-06-26 16:43:31 -04:00
Harish Govindarajulu
074f35ee99 chore: Update alembic migration script to support sqlite db (PROJQUAY-7097) (#2839)
* Add sqlite db support on quay start up

* Add batchmode to migration scripts to support sqlite db

* Add sqlite db to config-tool validator +  alembic migration

* Fix migration script to prevent db row locking

Added commit statement to ensure previous transaction is
completed before the next one within the same table

* Clean up unused sqlite volume

* Apply black formatting to migration scripts

* Address review comments

* Ensure py39-unit test runs the alembic migration on Sqlite

* Add static type checking for alembic config file name

* alembic remove commit and invalidate during migration

When disconnecting from db, alembic tries to rollback
causing PendingRollbackError

* Bump go version in config-tool Dockerfile

* Explicitly commit transaction to prevent db table locking

* Clean up + remove debug statements

* Undo database secret key change

* Add TEST_DATABASE_URI to py39-unit to run unit test with sqlite db

* Drop index before dropping column to prevent sqlite error

* Add test coverage + address last set of reviews

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
2024-06-12 13:57:32 -04:00
Jonathan King
233c128849 sts: Add STS support for S3 (PROJQUAY-6362) (#2632)
- Add STS authentication to s3
- Add STS validation to config tool
- PR automatically refreshes token on expiry
2024-02-22 10:50:54 -05:00
Brandon Caton
94735bcfbd configtool: Adding validation for IBM Cloud Storage (PROJQUAY-6549) (#2568)
Adding validation for IBM Cloud Storage
2023-12-20 09:16:45 -05:00
Oleg Bulatov
0429d79696 chore: Move config-tool into its own directory 2023-07-28 16:34:05 +02:00