I have an existing set of yaml files for which I wrote a basic yaml linting configuration. But, I am always getting an error :
error syntax error: expected the node content, but found ‘-‘ (syntax)
Code syntax:
{{- $chartChart := include "chartName.chart" . -}}
{{- $releaseName := .Release.Name -}}
{{- $releaseService := .Release.Service -}}
I tried removing some rules for braces but didn’t work.