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> |
||
|---|---|---|
| .. | ||
| charts | ||
| logos | ||
| templates | ||
| .helmignore | ||
| Chart.yaml | ||
| Makefile | ||
| README.md | ||
| values.schema.json | ||
| values.yaml | ||
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 |