Skip to content

Commit

Permalink
helm chart: fix compatibility with helm >=2.15.0 (#981)
Browse files Browse the repository at this point in the history
helm chart: fix compatibility with helm >=2.15.0
  • Loading branch information
betatim authored Oct 22, 2019
2 parents 889380c + 5b3824d commit 9302684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm-chart/binderhub/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spec:
replicas: {{ .Values.replicas }}
strategy:
rollingUpdate:
{{- if eq .Values.replicas 1.0 }}
{{- if eq (.Values.replicas | int) 1 }}
maxSurge: 1
maxUnavailable: 0
{{- end }}
Expand Down

0 comments on commit 9302684

Please sign in to comment.