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

Commit

Permalink
Merge pull request #1867 from kubernetes-incubator/feature/v0.16.1-fi…
Browse files Browse the repository at this point in the history
…x-openicmp-rendering

[v0.16.1] Fix rendering for openICMP
  • Loading branch information
dominicgunn committed Jun 1, 2020
2 parents a43cd06 + ba4664d commit f2781f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builtin/files/stack-templates/control-plane.json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@
"ToPort": -1
},
{{end -}}
{{ range $_, $r := $.SSHAccessAllowedSourceCIDRs -}}
{{ range $i, $r := $.SSHAccessAllowedSourceCIDRs -}}
{{if gt $i 0}},{{end}}
{
"CidrIp": "{{$r}}",
"FromPort": 22,
Expand Down

0 comments on commit f2781f8

Please sign in to comment.