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> |
||
|---|---|---|
| .. | ||
| apps | ||
| core | ||
| extra | ||
| library | ||
| system | ||
| tests/cozy-lib-tests | ||