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

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

Open
#740 0 comments 3 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 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
```

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.