fix: render node-specific HWLAB pipeline names

This commit is contained in:
Codex
2026-06-27 12:26:37 +00:00
parent c7d99e16fd
commit 184f54a036
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -1993,6 +1993,7 @@ export function nodeRuntimePipelinePostprocessScript(): string[] {
" if (Object.prototype.hasOwnProperty.call(defaults, param.name)) param.default = defaults[param.name];",
" }",
" doc.metadata = doc.metadata || {};",
" if (typeof overlay.pipelineName === 'string' && overlay.pipelineName.length > 0) doc.metadata.name = overlay.pipelineName;",
" doc.metadata.annotations = doc.metadata.annotations || {};",
" doc.metadata.annotations['hwlab.pikastech.local/download-profile'] = overlay.downloadProfileId;",
" doc.metadata.annotations['hwlab.pikastech.local/network-profile'] = overlay.networkProfileId;",