Skip to content

Commit fe61d04

Browse files
Remove faulty suffix trim from Helm deployment (#357)
Description of changes: Removes a suffix trim character from the Helm deployment template. This trim was causing the string to concatenate with the next line and create an error. Removing this ensures it stays as a separate line if the `priorityClassName` is specified. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 87477ae commit fe61d04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/helm/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ spec:
106106
affinity: {{ toYaml .Values.deployment.affinity | nindent 8 }}
107107
{{ end -}}
108108
{{ if .Values.deployment.priorityClassName -}}
109-
priorityClassName: {{ .Values.deployment.priorityClassName -}}
109+
priorityClassName: {{ .Values.deployment.priorityClassName }}
110110
{{ end -}}
111111
hostIPC: false
112112
hostNetwork: false

0 commit comments

Comments
 (0)