Skip to content

Commit

Permalink
Merge pull request #15 from SmartColumbusOS/placeholder-units
Browse files Browse the repository at this point in the history
templating fix
  • Loading branch information
LtChae authored Oct 7, 2020
2 parents 0d23d47 + 62fcab5 commit 833c54f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- $totalUnits := len .Values.commService.rsu -}}
{{- $maxUnits := default $totalUnits .Values.commService.maxUnits -}}
{{- $maxUnits := default $totalUnits .Values.commService.maxUnits | min $totalUnits -}}
{{- $sublist := slice .Values.commService.rsu 0 $maxUnits -}}
{{- range $i, $rsu := $sublist }}
{{- $suffix := $rsu | replace "_" "-" | lower -}}
Expand Down

0 comments on commit 833c54f

Please sign in to comment.