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

Better support for COSI

Aperta
#713 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Go
Stelle
191
Fork
72
Merge medio
1g 16h
PR unite (30g)
18

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Non vengono nominati file o test. Inizia tracciando la configurazione destination e secretKeyRef di ObjectStore, quindi esamina come vengono risolti accessKeyId e secretAccessKey di s3Credentials; il lavoro è completato quando le credenziali provenienti da un secret generato da COSI possono configurare bucket forniti dinamicamente senza dettagli statici di endpoint o bucket.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
go, kubernetes
Ambito
cloud, infrastructure
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.