Skip to content

Commit

Permalink
fix(helm): fix syntax errors caused by spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
anurnomeru authored Jul 28, 2022
1 parent 0e84fc0 commit c67bf85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/scheduler/templates/scheduler-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ spec:
- /scheduler
- --leader-elect=false
- --config=/etc/kubernetes/kube-scheduler/scheduler-config.yaml
{ { - if ge .Capabilities.KubeVersion.Minor "22" } }
{{- if ge .Capabilities.KubeVersion.Minor "22" }}
image: "{{ .Values.scheduler.image.repository }}:0.0.23"
{ { - else } }
{{- else }}
image: "{{ .Values.scheduler.image.repository }}:0.0.20"
{ { - end } }
{{- end }}
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -60,4 +60,4 @@ spec:
- name: dynamic-scheduler-policy
configMap:
name: dynamic-scheduler-policy
{{ end }}
{{ end }}

0 comments on commit c67bf85

Please sign in to comment.