Function CR sync should keep the spec fields func does not set
维护者通常 2 天内回复
@gauron99 已经在做这个了。
开始于 2026年11月11日。
评估
这个 Issue 还没有评估数据。
描述
Function CR sync replaces the whole spec, so it drops settings func does not set: repository.authSecretRef and an explicit autoUpdateMiddleware: false. After each deploy the operator can no longer clone a private repository, and middleware auto-updates turn back on for functions that opted out.
This already happens on local deploys. #4105 extends sync to func deploy --remote.
Proposal: on update, write only the fields func owns (repository URL, revision, dir, and registry auth when func has a login). Keep the rest of the existing spec. Add a regression test that an existing authSecretRef and autoUpdateMiddleware: false survive a sync.
From the review on #4105: https://github.com/knative/func/pull/4105#discussion_r4374559779
- 主要语言
- Go
- 星标
- 366
- 派生
- 231
- 平均合并
- 2 天 23 小时
- 30 天内合并 PR
- 50
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
knative/func 的其他 Issue
-
help wanted kind/good-first-issue
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 42/100
维护者通常 2 天内回复
-
MCP config_git_set exposes the GitHub token on the func subprocess command line可能已有人在做 @anjalirj27 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 30/100
维护者通常 2 天内回复
-
Deprecation of legacy parliament Python functions (removal in 1.26)可能已有人在做 @gauron99 于 4 天前认领。 未关闭kind/cleanup lifecycle/frozen
knative/func#4185 · 1 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
-
OCI pusher panics when reused for a second upload可能已有人在做 @shreyashsri79 于 18 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 25/100
维护者通常 2 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
kagent-dev/kagent#3792 ·
维护者通常 1 天内回复
-
ai-driven-qa bug claude Minor
难度 2/5 1-3 小时 新手友好度 68/100
linagora/cozy-stack#5374 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
google/certificate-transparency-go#1859 ·
维护者通常 1 天内回复
-
[Bug]: gate 缺失未关闭bug
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 64/100
newrelic/newrelic-cli#1958 ·
维护者通常 1 天内回复