envoyproxy / envoyproxy/gateway

YAML parse error in certgen.yaml with custom values

Open
#7,044 8 comments 7 reactions 0 assignees View on GitHub
stale triage
Dominant language
Go
Stars
3k
Forks
864
Avg merge
1d 22h
Merged PRs (30d)
148

Description

*Description*:

When installing envoy-gateway via Helm with a custom values file, Helm fails with the following error:

```
Error: YAML parse error on gateway-helm/templates/certgen.yaml: error converting YAML to JSON: yaml: line 35: mapping values are not allowed in this context
Use --debug flag to render out invalid YAML
```
This only happens if you provide custom values (-f values.yaml). If you install without custom values, it works as expected.

*Repro steps*:
1) Create a values-test.yaml with minimal overrides, e.g.:
```
global:
imageRegistry: "my-private-registry"
imagePullSecrets:
- name: registry-creds
```

2) Run `helm template eg oci://docker.io/envoyproxy/gateway-helm --version 1.5.1 -f values-test.yaml`

*Environment*:
* Helm version: v3.18.6

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.