cozystack/packages
IvanHunters 1a48a5db7a fix(etcd): correct YAML literal scalar formatting in datastore.yaml
The heredoc content in datastore.yaml Job template was not properly indented,
causing YAML parser to fail with "could not find expected ':'" error at line 227.

Root cause: heredoc content lacked indentation within YAML literal scalar block,
making YAML parser interpret `apiVersion:` as a new top-level key instead of
part of the bash heredoc.

Solution: add proper indentation to heredoc lines and use sed to strip the
leading spaces before passing YAML to kubectl apply.

This ensures:
- YAML template parses correctly (all lines in literal scalar have indent)
- kubectl receives valid YAML (sed removes the indent before apply)

Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>
2026-04-27 00:50:43 +03:00
..
apps fix(etcd): address critical issues in DataStore creation Job 2026-04-24 23:36:08 +03:00
core Prepare release v1.3.0 2026-04-22 07:28:09 +00:00
extra fix(etcd): correct YAML literal scalar formatting in datastore.yaml 2026-04-27 00:50:43 +03:00
library [cozy-lib] Add a hexToInt helper 2026-03-19 07:29:50 +03:00
system chore(etcd): regenerate schema and documentation 2026-04-25 15:11:52 +03:00
tests/cozy-lib-tests refactor: replace Helm lookup with valuesFrom mechanism 2026-01-05 16:10:55 +01:00