cozystack/packages/extra/etcd
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
..
charts Configure all apps to use new function to generate subjects 2025-06-16 20:32:11 +02:00
logos Update dashboard icons (#274) 2024-08-12 14:47:11 +02:00
templates fix(etcd): correct YAML literal scalar formatting in datastore.yaml 2026-04-27 00:50:43 +03:00
.helmignore Ship all logos with Cozystack 2024-07-16 17:31:52 +02:00
Chart.yaml Remove versions_map logic 2025-09-24 12:32:37 +02:00
Makefile refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
README.md chore(etcd): regenerate schema and documentation 2026-04-25 15:11:52 +03:00
values.schema.json chore(etcd): regenerate schema and documentation 2026-04-25 15:11:52 +03:00
values.yaml fix(etcd): prevent TLS key leakage and add fail-fast checks 2026-04-25 00:50:11 +03:00

Etcd-cluster

Parameters

Common parameters

Name Description Type Value
size Persistent Volume size. quantity 4Gi
storageClass StorageClass used to store the data. string ""
replicas Number of etcd replicas. int 3
resources Resource configuration for etcd. object {}
resources.cpu Number of CPU cores allocated. quantity 1000m
resources.memory Amount of memory allocated. quantity 512Mi
certWaitTimeout Timeout in seconds to wait for cert-manager to populate TLS Secrets. int 300
kubectlImage Container image used for DataStore creation hook Job. string docker.io/alpine/k8s:1.33.4