You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After looking at the Helm Chart templates, in the ingresses.yaml file, this section seems to be the culprit:
---
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}apiVersion: networking.k8s.io/v1{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}apiVersion: networking.k8s.io/v1beta1{{- else -}}apiVersion: extensions/v1beta1{{- end }}
The usage of {{- and -}} seems to cause the whitespace (which includes newlines) to be remove and the resulting apiVersion gets generated right on the side of the ---.
Activity
lfraga commentedon Mar 24, 2026
Same scenario here