cloudnative-pg / cloudnative-pg/plugin-barman-cloud
[feature request] Allow ObjectStore config to use endpointCA from ConfigMap in addition to Secret
- Langage dominant
- Go
- Étoiles
- 191
- Forks
- 72
- Merge moyen
- 1 j 16 h
- PR mergées (30 j)
- 18
Description
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
```
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
La demande mentionne BarmanObjectStoreConfiguration et la documentation de configuration d’ObjectStore ; commencez par localiser cette définition d’API et la gestion de endpointCA. Prenez en charge configMapRef en plus de la référence à secret existante, en suivant l’exemple YAML, et vérifiez la configuration ObjectStore obtenue ainsi que le comportement de validation.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- go, kubernetes
- Domaine
- api, cloud
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100