Signed-off-by: Jason Whalley <42138928+JasonWhall@users.noreply.github.com>
pull/8995/head
Jason Whalley 5 years ago
parent 6784d42453
commit fd48d25a66

@ -102,7 +102,7 @@ func newLintCmd(out io.Writer) *cobra.Command {
if settings.Debug { if settings.Debug {
for _, contents := range result.RenderedContents { for _, contents := range result.RenderedContents {
fmt.Fprintf(&message, "---\n# Source: %s\n%s\n", path, contents) fmt.Fprintf(&message, "---\n# Source: %s\n%s", path, contents)
} }
} }

@ -2,7 +2,6 @@
[INFO] Chart.yaml: icon is recommended [INFO] Chart.yaml: icon is recommended
[ERROR] Chart.yaml: chart type is not valid in apiVersion 'v1'. It is valid in apiVersion 'v2' [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 ':' [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 # Source: testdata/testcharts/chart-with-template-with-invalid-yaml
apiVersion: v1 apiVersion: v1

Loading…
Cancel
Save