cozystack/packages/extra
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
..
bootbox Prepare release v1.3.0 2026-04-22 07:28:09 +00:00
etcd fix(etcd): correct YAML literal scalar formatting in datastore.yaml 2026-04-27 00:50:43 +03:00
external-dns [docs] Updated app go types 2026-03-25 15:57:25 +05:00
info refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
ingress [docs] Updated app go types 2026-03-25 15:57:25 +05:00
monitoring [docs] Updated app go types 2026-03-25 15:57:25 +05:00
seaweedfs Prepare release v1.3.0 2026-04-22 07:28:09 +00:00
Makefile refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00