Skip to content

Commit

Permalink
fix(charts): remove extra hyphen to make helm linter pass
Browse files Browse the repository at this point in the history
The hyphen at the end of the closing brackes is responsible for chomping
all the whitespaces after the brackets. Thus, a previous YAML separator
gets into the same line as the `apiVersion` element from the resource
enable by the `if` statement.

fixes #271

Signed-off-by: cmontemuino <[email protected]>
  • Loading branch information
cmontemuino committed Nov 22, 2023
1 parent db17d08 commit be810c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/helm/charts/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ roleRef:
apiGroup: rbac.authorization.k8s.io
---
{{- end }}
{{- if .Values.serviceAccount.lvmNode.create -}}

{{- if .Values.serviceAccount.lvmNode.create }}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down

0 comments on commit be810c2

Please sign in to comment.