Manager should expose http.Handlers to allow extension by users

未关闭
#1,007 18 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@alexanderstephan 已经在做这个了。

开始于 2023年3月18日。

评估

这个 Issue 还没有评估数据。

描述

help wanted kind/design lifecycle/frozen priority/important-longterm

Based on a conversation we had on the community call on the 18th June 2020:

There are several http.Handlers set up by the manager that are currently only accessible if served by the manager (metrics and webhooks). If the manager exposed these handlers once constructed this would allow extension by authors to customise how these endpoints are served.

For example, an author could use their own server and serve TLS connections directly instead of using the HTTP only server that is currently implemented with controller-runtime

Or the user could add some HTTP middleware to ensure that all requests to the endpoints are logged in a particular way or authenticated and authorized before serving the content

主要语言
Go
星标
3k
派生
1.3k
平均合并
1 天 7 小时
30 天内合并 PR
48

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

kubernetes-sigs/controller-runtime 的其他 Issue

查看 kubernetes-sigs/controller-runtime 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。