Repository navigation
feat(helm): support app.podAnnotations on the app pod template - #5159
Merged
Merged
Conversation
The app Deployment only rendered selector labels under spec.template.metadata, so operators could not set Pod-level annotations for platform integrations such as sidecar injection or metrics discovery. Add an app.podAnnotations value rendered verbatim into spec.template.metadata.annotations. It applies to the Pod template, not the Deployment metadata, and is empty by default, so existing releases render identically.
komorebi-c9
pushed a commit
to komorebi-c9/WeKnora
that referenced
this pull request
Nov 17, 2026
lyingbug
pushed a commit
that referenced
this pull request
Nov 26, 2026
* fix(wiki): repair broken links before stripping them Resolve broken links against live pages in the same namespace, preserve their labels, and count only saved content changes. Normalize new page slugs and preserve exact legacy targets when maintaining link edges. * docs: fix KnowledgeQAStream example in English client README (#5178) * fix(docreader): reject HTTP error pages during URL import (#5292) * fix(mcp): normalize trailing slashes in API base URLs (#5286) * fix(mcp): preserve SSE frames across split CRLF boundaries (#5228) * fix(docreader): normalize reversed PDF crop bounds (#5222) * fix(docreader): preserve multiline XMind hierarchy (#5066) * fix(wiki): preserve literal queries for SQLite search (#5293) * fix(agent): observe all requested jobs in any-mode waits (#5248) * fix(client): honor a leading BOM in SSE streams (#5230) * fix(frontend): allow spaces when renaming knowledge folders (#5206) * fix(agent): point read-only guidance at the execution permission selector (#5197) * fix(frontend): leave 1M of multipart overhead in nginx client_max_body_size (#5196) * feat(helm): support app.podAnnotations on the app pod template (#5159) * fix(rerank): reject responses without a results array (#5130) * fix(session): cap the host approval mode body before binding (#5117) * fix(vlm): send the default temperature as exactly 0.1 (#5105) * fix(agent): preserve numeric literals when casting to strings (#5019) * fix(yuque): detect BOM-prefixed empty and HTML bodies (#5016) * fix(models): avoid overflow when splitting large batches (#5015) * fix(docreader): preserve spreadsheet text identifiers and cell types (#4986) * fix(cli): keep large JSON numbers exact in raw api output and dry-run plans (#4015) * feat(chat-history): add safe workspace message-index cleanup (#4392) * feat(tracing): support custom metadata via X-Langfuse-Metadata header (#3529) Accept bounded scalar metadata from the request header while preserving internal trace correlation fields. Add middleware regression tests and observability documentation. * fix(mcp): count endpoint names in characters, not bytes (#5261) Count MCP endpoint name limits in Unicode characters for create and update, with regression coverage for multibyte names. * fix(models): preserve type and source on partial updates (#5301) Preserve stored model source and type when partial updates omit identity fields. Cover omitted, empty, null, and explicit values. * fix(graph): preserve retryable Neo4j write failures (#5299) Preserve Neo4j write error chains and consume results inside the managed transaction so transient errors reach driver retry classification. * fix(agent): let the assistant configure rerank models (#5298) Expose rerank model selection through agent partial updates and assistant response projections. Keep omitted values, support explicit clearing, and update generated API guidance. * fix(faq): make paginated entry ordering deterministic (#5288) Use the unique chunk ID to break equal FAQ update timestamps and keep ascending and descending pagination deterministic. * fix(mcp-server): prefer exact agent IDs over name matches (#5141) Give exact agent IDs priority over name matches while retaining case-insensitive name lookup as a fallback. * fix(retrieval): exclude chunks from cancelled documents (#5217) Filter cancelled documents before primary-hit and reranker limits, keep enrichment scoped to eligible documents, and bound the retrieval candidate pool. * feat(gallery): sort PDF images by source page (#4649) Persist reliable image source pages and document order. Sort gallery assets before pagination, support legacy page recovery, and keep page display consistent with sorting. * fix(docparser): send Authorization header on legacy MinerU /file_parse and /docs probes (#5057) Send the configured bearer token to legacy MinerU multipart uploads and connectivity probes. * fix(mcp-server): allow creating sessions without a knowledge base (#5233) Allow metadata-only session creation without knowledge-base lookup while preserving explicitly supplied legacy knowledge-base arguments. * fix(mcp-server): preserve partial answers on explicit chat stops (#5123) Treat explicit chat stops as terminal SSE events and return accumulated answers with a stopped flag. * fix(mcp-server): add timeout to non-chat API requests (#5103) Bound non-chat API requests and uploads with the configurable API timeout while preserving explicit caller timeouts. * fix(qa): resolve the rerank model on the KnowledgeQA pipeline (#5259) Resolve the KnowledgeQA rerank model from workspace settings or available defaults while preserving explicit agent model selection. * fix(knowledge): count recents and favorites from the resolved lists (#5282) Apply the reviewed fix with its regression coverage. * fix(housekeeping): recover soft-deleted deleting rows and reap their spans (#5280) Apply the reviewed fix with its regression coverage. * fix(runtime): release shell sweep claims atomically (#5276) Apply the reviewed fix with its regression coverage. * fix(agent): budget rendered document query rows (#5260) Apply the reviewed fix with its regression coverage. * fix(wiki): render relative Markdown document links as text (#5256) Apply the reviewed fix with its regression coverage. * fix(chat): restore parked approval state after reload (#5201) Apply the reviewed fix with its regression coverage. * fix(mcp): release lifetimes of disconnected cached clients (#5194) Apply the reviewed fix with its regression coverage. * fix(ima): pass downloaded document folders to ingestion (#5185) Apply the reviewed fix with its regression coverage. * fix(agent): avoid tool-call ID collisions during normalization (#5180) Apply the reviewed fix with its regression coverage. * fix(data-analysis): accept a plan wrapped in prose or an odd code fence (#5164) Apply the reviewed fix with its regression coverage. * fix(docparser): cut MinerU raw response dumps on a rune boundary (#5163) Apply the reviewed fix with its regression coverage. * fix(chat): recover interrupted replay connections (#5120) Apply the reviewed fix with its regression coverage. * fix(embed): strip host context from getUserQuery for save-to-knowledge-base (#5119) Apply the reviewed fix with its regression coverage. * fix(wiki): count pages with JSON null in_links as orphans on PostgreSQL (#5170) Apply the reviewed fix with its regression coverage. * fix(agent): cut the tool output log preview on a rune boundary (#5118) Apply the reviewed fix with its regression coverage. * fix(docreader): keep PDF lines whole when glyph boxes differ in height (#5149) Apply the reviewed change and its regression coverage. * fix(docreader): preserve omitted DOCX table columns (#5147) Apply the reviewed change and its regression coverage. * fix(docreader): honor PDF image repetition threshold (#5136) Apply the reviewed change and its regression coverage. * fix(docreader): preserve titles on embedded Markdown images (#5131) Apply the reviewed change and its regression coverage. * fix(docreader): preserve UTF-16 EPUB chapter text (#5122) Apply the reviewed change and its regression coverage. * feat(docparser): let self-hosted MinerU parse xlsx (#5039) Apply the reviewed change and its regression coverage. * fix(docparser): preserve DOCX vector assets through fallback (#5156) Apply the reviewed change and its regression coverage. * fix(chat): ignore stale session loads across conversation visits (#5153) Apply the reviewed change and its regression coverage. * fix(chat): stabilize session batch deletion and prevent duplicate requests (#5137) Apply the reviewed change and its regression coverage. * fix(chat): dismiss session action menus on Escape (#5175) Apply the reviewed change and its regression coverage. * feat(cmdk): open search hits at the matching source passage (#5177) Apply the reviewed change and its regression coverage. * fix(chunker): enforce explicit token limit as a hard chunk budget (#5181) Apply the reviewed change and its regression coverage. * docs(swagger): align annotations with registered routes (#5255) * fix(datasource): retry failed sync completion writes (#5251) * fix(datasource): retry failed sync metadata reads (#5232) * fix(datasource): treat VLM/ASR prerequisite rejections as permanent (#5106) * fix: preserve storage bindings on model-only config updates (#5207) * fix(handler): preserve omitted knowledge base configuration (#5223) * fix(docparser): name the engine and surface the upstream error on parse failures (#5215) * fix(frontend): scope the last-chat-model key per user (#5209) * fix(wiki): keep code examples out of link derivation and repair (#5173) * fix(frontend): preserve Markdown emphasis delimiter pairs (#5158) * fix(preview): preserve Mermaid labels and styling in file previews (#5154) * fix(docreader): honor implicit MHTML root (#5061) * fix(docreader): preserve spine order in EPUB ZIP fallback (#5018) * fix(frontend): clear previous knowledge and file references in new chats (#5081) * fix(chat): recover citation previews after transient failures (#5065) --------- Co-authored-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com> Co-authored-by: u7-u7 <116776533+u7-u7@users.noreply.github.com> Co-authored-by: Captain <42566883+po-et@users.noreply.github.com> Co-authored-by: zhouh <3295933938@qq.com> Co-authored-by: Chris Chen <chrischen@ignity.xyz> Co-authored-by: alexcastgonz <82875882+pcbeingused333@users.noreply.github.com> Co-authored-by: KalandraMo <18550039021@163.com> Co-authored-by: ydflow <m5a5@163.com> Co-authored-by: yetuge <182123929+yetuge@users.noreply.github.com> Co-authored-by: 澍 <133481415+icearia0219@users.noreply.github.com> Co-authored-by: 钱晓缺 <543709403@qq.com> Co-authored-by: fchengyan <3181088318@qq.com> Co-authored-by: Xinliang Zheng <Zxl2024903531@outlook.com> Co-authored-by: liyihang <33625453+liyihang866@users.noreply.github.com> Co-authored-by: stv <15886611803@qq.com> Co-authored-by: Flyfish Xu <41728565+flyfishxu@users.noreply.github.com> Co-authored-by: 30bef100w <yongqixu211@gmail.com> Co-authored-by: 自分 <2100820071@qq.com> Co-authored-by: jianyx1 <166109249+jianyx1@users.noreply.github.com> Co-authored-by: HelloWorld3326 <chirs3326@gmail.com> Co-authored-by: Arthur <85677485+wuning159@users.noreply.github.com> Co-authored-by: Natsuki <fxia0018@student.monash.edu> Co-authored-by: Yahoo <119646314+y4ho0@users.noreply.github.com> Co-authored-by: xiong-wei1 <69303998+xiong-wei1@users.noreply.github.com> Co-authored-by: AsanoReo <40161574+wangrui19971019@users.noreply.github.com> Co-authored-by: FangZhenTao <3223957215@qq.com> Co-authored-by: Yzzz88 <3501345036@qq.com> Co-authored-by: 林SO <142557582+Linxiushen@users.noreply.github.com> Co-authored-by: somaz <112675579+somaz94@users.noreply.github.com> Co-authored-by: Anatolios Laskaris <nahsi@nahsi.dev> Co-authored-by: Winoren <158550716+Winoren@users.noreply.github.com> Co-authored-by: cuteNBD <2905153124@qq.com> Co-authored-by: poisongodv <85426738+PoisonGodv@users.noreply.github.com> Co-authored-by: WLG <49110471+wang-leigang@users.noreply.github.com> Co-authored-by: JackieHong <56387926+fatherplus@users.noreply.github.com> Co-authored-by: VicFei <cnfeichen@163.com> Co-authored-by: LL_Ricky <lizijing98@live.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The app Deployment rendered only the component selector labels under
spec.template.metadata. There was no way to set Pod-level annotations,which several platform integrations need (sidecar injection, metrics
auto-discovery, admission-webhook opt-ins).
This adds an
app.podAnnotationsvalue, rendered verbatim intospec.template.metadata.annotationswithwith+toYaml, following thesame pattern as the existing
app.extraEnv/app.extraVolumes.Changes
helm/templates/app.yaml: render.Values.app.podAnnotationsinto the Pod template metadata (not the Deployment metadata).helm/values.yaml: documentapp.podAnnotations: {}under the app section.helm/README.md: add the value to the App (Backend) parameter table.The default is an empty map, so existing releases render identically.
The annotations go on the Pod template, which matters for features that
inspect Pods rather than Deployments.
Type of Change
Related Issue
Fixes #5165
Testing
helm lint ./helm --set secrets.existingSecret=fixture-secret→ 1 chart linted, 0 failed.helm template audit ./helm --namespace audit --set secrets.existingSecret=fixture-secret --set-json 'app.podAnnotations={"example.com/sidecar-inject":"true","custom.io/team":"platform"}'→ annotations render underspec.template.metadata.annotationson the app Deployment.helm templatewith default values → identical output; the only difference between the configured and default renders is the three annotation lines.git diff --check upstream/main...HEADpasses.Helm CLI v3.16.4 was used. No Go sources changed, so Go tests/lint are not
applicable. No new
helm/tests/file was added (that suite requires PyYAMLand currently covers rollout/storage only); this follows the precedent of
#4332. Rendering was verified directly with the Helm CLI instead.
Checklist
git diff --check origin/main...HEADpasseswebsite-docs/, Swagger annotations, etc.)