1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-07 17:48:24 +00:00
kyverno/charts
Adrien F b23965cd76
fix(chart/kyverno): handle multiple extraArgs in init container (#5846)
The lack of the nindent was causing rendering to fail:

```
Error: YAML parse error on kyverno/templates/deployment.yaml: error converting YAML to JSON: yaml: line 75: did not find expected key
helm.go:81: [debug] error converting YAML to JSON: yaml: line 75: did not find expected key
YAML parse error on kyverno/templates/deployment.yaml
helm.sh/helm/v3/pkg/releaseutil.(*manifestFile).sort
```

Reproducible by having the following values:

```
initContainer:
  extraArgs:
    - "--loggingFormat=json"
    - "-v=-1"
```

Signed-off-by: Adrien Fillon <adrien.fillon@manomano.com>

Signed-off-by: Adrien Fillon <adrien.fillon@manomano.com>
2023-01-03 14:34:11 +00:00
..
kyverno fix(chart/kyverno): handle multiple extraArgs in init container (#5846) 2023-01-03 14:34:11 +00:00
kyverno-policies feat: Add default CI test values for helm charts (#5518) 2022-12-01 10:39:59 +00:00