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

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

オープン
#740 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Go
スター
191
フォーク
72
平均マージ
1日 16時間
マージ済み PR(30日)
18

説明

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
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

このリクエストでは BarmanObjectStoreConfiguration と ObjectStore の設定ドキュメントが指定されているため、まずその API 定義と endpointCA の処理を見つけてください。既存の secret 参照に加えて configMapRef をサポートし、YAML の例に合わせ、結果として得られる ObjectStore 設定とバリデーションの動作を確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
go, kubernetes
領域
api, cloud
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。