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

[feature request] Allow ObjectStore config to use endpointCA from ConfigMap in addition to Secret

Offen
#740 0 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Go
Sterne
191
Forks
72
Ø Merge
2 T. 21 Std.
Gemergte PRs (30 T.)
21

Beschreibung

Currently, the ObjectStore config [only allows specifying the CA certificates from a secret](https://cloudnative-pg.io/plugin-barman-cloud/docs/object_stores/#using-object-storage-with-a-private-ca). We are using trust manager to distribute the certificates as config maps. The [`BarmanObjectStoreConfiguration`](https://pkg.go.dev/github.com/cloudnative-pg/barman-cloud/pkg/api#BarmanObjectStoreConfiguration) however only allows secrets to be specified.

e.g.:
```yaml
apiVersion: barmancloud.cnpg.io/v1
kind: ObjectStore
metadata:
name: my-obj-store
spec:
configuration:
endpointURL: https://
endpointCA:
configMapRef:
name: my-ca-configmap
key: ca.crt
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Die Anfrage nennt BarmanObjectStoreConfiguration und die Dokumentation zur ObjectStore-Konfiguration; beginne damit, diese API-Definition und die Verarbeitung von endpointCA zu finden. Unterstütze configMapRef zusätzlich zur bestehenden Secret-Referenz, entsprechend dem YAML-Beispiel, und überprüfe die resultierende ObjectStore-Konfiguration sowie das Validierungsverhalten.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
go, kubernetes
Bereich
api, cloud
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.