Commit 5b1c0b8
Gaal
api: add Literal field to ValuesReference (CRD schema + docs)
Exposes the new `literal` field on `valuesFrom` entries, mirroring the
addition to `meta.ValuesReference` in fluxcd/pkg#1218. When set together
with `targetPath`, the referenced value is passed to Helm verbatim
(equivalent of `helm --set-literal`) instead of being parsed by
`strvals.ParseInto`, so file content containing commas, brackets, braces
or equal signs survives the round-trip intact.
This commit ships only the OpenAPI schema (so the field is validated by
the API server) and the user-facing documentation. The runtime support
lives in fluxcd/pkg/chartutil; once that PR merges and a `fluxcd/pkg`
release is cut, a follow-up will bump the dependency here so
helm-controller actually honours the field. Until then, setting
`literal: true` is accepted by the API but has no effect — the field is
forward-compatible.
Addresses #1317.
Signed-off-by: Gaal <g.gaal@salmon.group>1 parent ca9234b commit 5b1c0b8
2 files changed
Lines changed: 28 additions & 0 deletions
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1080 | 1080 | | |
1081 | 1081 | | |
1082 | 1082 | | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
1083 | 1094 | | |
1084 | 1095 | | |
1085 | 1096 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
490 | 497 | | |
491 | 498 | | |
492 | 499 | | |
| |||
499 | 506 | | |
500 | 507 | | |
501 | 508 | | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
502 | 514 | | |
503 | 515 | | |
504 | 516 | | |
| |||
510 | 522 | | |
511 | 523 | | |
512 | 524 | | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
513 | 530 | | |
514 | 531 | | |
515 | 532 | | |
| |||
0 commit comments