This repository was archived by the owner on Sep 30, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +16
-7
lines changed Expand file tree Collapse file tree 4 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -1360,6 +1360,10 @@ kubeProxy:
1360
1360
# It is enabled by default.
1361
1361
#cloudFormationStreaming: true
1362
1362
1363
+ # When enabled, a security group rule is included on the generated kube-aws SG to allow ICMP Ping from all traffic (0.0.0.0/0).
1364
+ # This is applied to all nodes (worker & control plane) in the cluster.
1365
+ openICMP: true
1366
+
1363
1367
# Addon features
1364
1368
addons:
1365
1369
# When enabled, Kubernetes rescheduler is deployed to the cluster controller(s)
Original file line number Diff line number Diff line change 211
211
}
212
212
],
213
213
"SecurityGroupIngress": [
214
+ {{ if .OpenICMP -}}
215
+ {
216
+ "CidrIp": "0.0.0.0/0",
217
+ "FromPort": -1,
218
+ "IpProtocol": "icmp",
219
+ "ToPort": -1
220
+ },
221
+ {{end -}}
214
222
{{ range $_, $r := $.SSHAccessAllowedSourceCIDRs -}}
215
223
{
216
224
"CidrIp": "{{$r}}",
217
225
"FromPort": 22,
218
226
"IpProtocol": "tcp",
219
227
"ToPort": 22
220
- },
221
- {{end -}}
222
- {
223
- "CidrIp": "0.0.0.0/0",
224
- "FromPort": -1,
225
- "IpProtocol": "icmp",
226
- "ToPort": -1
227
228
}
229
+ {{end -}}
228
230
],
229
231
"Tags": [
230
232
{
Original file line number Diff line number Diff line change 91
91
}
92
92
],
93
93
"SecurityGroupIngress": [
94
+ {{ if .OpenICMP -}}
94
95
{
95
96
"CidrIp": "0.0.0.0/0",
96
97
"FromPort": -1,
97
98
"IpProtocol": "icmp",
98
99
"ToPort": -1
99
100
},
101
+ {{end -}}
100
102
{{ range $_, $r := $.SSHAccessAllowedSourceCIDRs -}}
101
103
{
102
104
"CidrIp": "{{$r}}",
Original file line number Diff line number Diff line change @@ -562,6 +562,7 @@ type Cluster struct {
562
562
CustomApiServerSettings CustomApiServerSettings `yaml:"customApiServerSettings,omitempty"`
563
563
CustomSettings map [string ]interface {} `yaml:"customSettings,omitempty"`
564
564
KubeResourcesAutosave `yaml:"kubeResourcesAutosave,omitempty"`
565
+ OpenICMP bool `yaml:"openICMP,omitempty"`
565
566
}
566
567
567
568
type WaitSignal struct {
You can’t perform that action at this time.
0 commit comments