cloudnative-pg / cloudnative-pg/plugin-barman-cloud

Better support for COSI

Open
#713 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
191
Forks
72
Avg merge
2d 21h
Merged PRs (30d)
21

Description

Currently the ObjectStore expects certain details to be statically configured like the endpoint url and the bucket name as part of the destination path. This is perfectly fine when generating buckets manually, but it requires additional tooling when working with dynamically provisioned buckets using COSI or other operators like e.g. [minio-operator-ext](https://github.com/benfiola/minio-operator-ext).

In a perfect world ObjectStore would simply accept a reference to a COSI BucketAccess object, but I understand that COSI is still in alpha state and object storage provider support is pretty limited and this wouldn't support other operators.

A simpler way to at least improve the situation would be to accept more values as secretKeyRefs such as the accessKeyId and secretAccessKey objects of the s3Credentials objects. COSI puts all information about necessary to access a bucket into a secret.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.