Commit 2e35200
committed
refactor(generators): reuse buildHelmChart in mkChartCRDsYaml
Drop the hand-rolled helm-template derivation in favor of
klib.buildHelmChart, per review. Materialize its single-file output as
$out/crds.yaml via runCommand cp rather than linkFarm: crdObjects reads
crds.yaml at eval time, and a linkFarm symlink would make that read
follow into buildHelmChart's separate output (a store path absent from
the readFile string's context) which pure eval forbids. A real file
keeps the read in-context.1 parent e7dc0f7 commit 2e35200
1 file changed
Lines changed: 20 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
407 | 418 | | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
432 | 428 | | |
433 | 429 | | |
434 | 430 | | |
| |||
0 commit comments