mirror of https://github.com/helm/helm
Fixes #8982 Signed-off-by: Jason Whalley <42138928+JasonWhall@users.noreply.github.com>pull/8995/head
parent
b690db13a0
commit
6784d42453
@ -0,0 +1,19 @@
|
||||
==> Linting testdata/testcharts/chart-with-template-with-invalid-yaml
|
||||
[INFO] Chart.yaml: icon is recommended
|
||||
[ERROR] Chart.yaml: chart type is not valid in apiVersion 'v1'. It is valid in apiVersion 'v2'
|
||||
[ERROR] templates/alpine-pod.yaml: unable to parse YAML: error converting YAML to JSON: yaml: line 11: could not find expected ':'
|
||||
|
||||
---
|
||||
# Source: testdata/testcharts/chart-with-template-with-invalid-yaml
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: "test-release-my-alpine"
|
||||
spec:
|
||||
containers:
|
||||
- name: waiter
|
||||
image: "alpine:3.9"
|
||||
command: ["/bin/sleep","9000"]
|
||||
invalid
|
||||
|
||||
Error: 1 chart(s) linted, 1 chart(s) failed
|
Loading…
Reference in new issue