cloudnative-pg / cloudnative-pg/plugin-barman-cloud
Better support for COSI
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Go
- Sterne
- 192
- Forks
- 75
- Ø Merge
- 1 T. 16 Std.
- Gemergte PRs (30 T.)
- 18
Beschreibung
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.
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Es werden keine Dateien oder Tests genannt. Beginne damit, die destination- und secretKeyRef-Konfiguration von ObjectStore nachzuverfolgen, und untersuche dann, wie accessKeyId und secretAccessKey von s3Credentials aufgelöst werden; als erledigt gilt die Aufgabe, wenn Credentials aus einem von COSI generierten Secret dynamisch bereitgestellte Buckets ohne statische Endpoint- oder Bucket-Details konfigurieren können.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- go, kubernetes
- Bereich
- cloud, infrastructure
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100