plugin-barman-cloud icon indicating copy to clipboard operation
plugin-barman-cloud copied to clipboard

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

Open poehlerflorian opened this issue 10 months ago • 1 comments

Currently, the ObjectStore config only allows specifying the CA certificates from a secret. We are using trust manager to distribute the certificates as config maps. The BarmanObjectStoreConfiguration however only allows secrets to be specified.

e.g.:

apiVersion: barmancloud.cnpg.io/v1
kind: ObjectStore
metadata:
  name: my-obj-store
spec:
  configuration:
    endpointURL: https://<s3-endpoint-url>
    endpointCA:
      configMapRef:
        name: my-ca-configmap
        key: ca.crt

poehlerflorian avatar Jan 20 '26 14:01 poehlerflorian

Hello there, there is also become available ClusterTrustBundle which is suitable for distributing CAs and validating with. https://kubernetes.io/docs/reference/kubernetes-api/certificates/cluster-trust-bundle-v1/

arren-ru avatar Oct 29 '26 15:10 arren-ru