Commit 603f3b6
committed
fix(argocd-image-updater): escape Go template syntax in CRD descriptions
## What
Re-escape the `{{ .app.path.path }}` placeholders inside the writeBackTarget description fields of crd-imageupdaters.yaml so Helm emits them literally instead of evaluating them as template expressions.
## Why
The v1.2.0 CRD sync removed the prior Helm escape wrapper, leaving upstream's literal `{{ .app.path.path }}` text in the YAML descriptions. Helm parses the entire template through Go templates before YAML, so it tried to evaluate `.app.path.path` against the chart context and failed with a nil-pointer error during chart-test lint with ci/enable-extra-objects-values.yaml.
## Notes
- Renovate may overwrite this fix the next time it regenerates this branch; if so the same escape will need to be reapplied.
- Uses the backtick raw-string escape `{{`...`}}` so the rendered output matches the upstream CRD verbatim, with no surrounding quotes (versus the prior `{{ quote ... }}` form).
- A second occurrence at the per-image override level had the same regression and is fixed identically.
Signed-off-by: jmeridth <[email protected]>1 parent ef8e937 commit 603f3b6
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
| 479 | + | |
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
| |||
0 commit comments