Unify CA certificate configuration for Trino, PostgreSQL and S3 storage

未關閉
#383 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 2 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
typescript
領域
backend, security

研究方向

Start by tracing the three CA settings named in the issue: Trino, PostgreSQL, and S3 storage, including their Helm validation and Secret Operator volume configuration. Decide how shared CA configuration should coexist with system trust and public endpoints, then define how invalid certificates prevent startup. Done means the duplicated configuration is unified and all three stated problems are addressed.

由索引模型根據 Issue 內容生成。

描述

Cockpit has three independent CA certificate settings, all implemented the same way:

Trino
STACKABLE_COCKPIT_TRINO_TLS_CA_CERT
trino.tls.caCert / secretClass

PostgreSQL
DATABASE_TLS_CA_CERT
database.tls.caCert / secretClass

S3 storage
STACKABLE_COCKPIT_STORAGE_TLS_CA_CERT
storage.tls.caCert / secretClass

Problems

  • One CA replaces all trust: each setting replaces the system trust store. For S3 that's a real limitation: once a CA is set, connections to public endpoints such as AWS S3 fail, so an internal and a public object store can't be used side by side.
  • Duplicated code: reading the file, error handling, Helm validation and the Secret Operator volumes are written out three times.
  • Nothing stops the app from starting if a certificate is invalid
主要語言
TypeScript
星號
1
分支
0
平均合併
3 天 22 小時
30 天內合併 PR
34

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

stackabletech/cockpit 的其他 Issue

查看 stackabletech/cockpit 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。