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

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

Đang mở
#740 0 bình luận 3 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Go
Star
192
Fork
75
Merge trung bình
1 ngày 16 giờ
Pull request đã merge (30 ngày)
18

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Yêu cầu đề cập đến BarmanObjectStoreConfiguration và tài liệu cấu hình ObjectStore; trước tiên hãy xác định định nghĩa API đó và cách xử lý endpointCA. Hỗ trợ configMapRef cùng với tham chiếu secret hiện có, theo ví dụ YAML, và xác minh cấu hình ObjectStore kết quả cũng như hành vi xác thực.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
go, kubernetes
Lĩnh vực
api, cloud
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.