kyma-project / docker-registry

Apache License 2.0
2 stars 7 forks source link

BTP Object Store as a storage backend #66

Closed kwiatekus closed 1 week ago

kwiatekus commented 1 month ago

Description

Docker registry should be able to consume a secret resulting from binding a BTP Object Store service instance. Add a new storage option as part of docker-registry specification that allows passing a secret name containing binding from BTP Object Store:

spec:
  storage:
     btpObjectStore:
         secretName: btp-object-store-binding-secret

AC

Testing strategy New unit test expected for secret parsing of the 3 service binding variants.

Manual test scenario: Create 3 subaccounts on SAP BTP:

Reasons

Possibility for automatic configuration for storage backend based on any of the hyperscaler based variant is super convenient for the BTP users as they wouldn't need to extract the BTP object store binding secret and configure docker registry manually. Docker Registry Operator should come up with auto-configuration auto-pilot

Attachments

*) BTP Object Store - Azure variant BTP Object Store - GCS variant BTP Object Store - AWS(S3) variant