Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit f2781f8

Browse files
authored
Merge pull request #1867 from kubernetes-incubator/feature/v0.16.1-fix-openicmp-rendering
[v0.16.1] Fix rendering for openICMP
2 parents a43cd06 + ba4664d commit f2781f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builtin/files/stack-templates/control-plane.json.tmpl

+2-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@
219219
"ToPort": -1
220220
},
221221
{{end -}}
222-
{{ range $_, $r := $.SSHAccessAllowedSourceCIDRs -}}
222+
{{ range $i, $r := $.SSHAccessAllowedSourceCIDRs -}}
223+
{{if gt $i 0}},{{end}}
223224
{
224225
"CidrIp": "{{$r}}",
225226
"FromPort": 22,

0 commit comments

Comments
 (0)