kube-aws: fix rubocop warnings.
This commit is contained in:
parent
552eb13c5a
commit
a38097c264
1 changed files with 14 additions and 7 deletions
|
@ -42,13 +42,20 @@ class KubeAws < Formula
|
|||
require "yaml"
|
||||
|
||||
system "#{bin}/kube-aws"
|
||||
cluster = { "clusterName"=>"test-cluster",
|
||||
"apiEndpoints"=>[{ "name"=>"default", "dnsName"=>"dns",
|
||||
"loadBalancer"=>{ "createRecordSet"=>false } }],
|
||||
"keyName"=>"key", "region"=>"west", "availabilityZone"=>"zone",
|
||||
"kmsKeyArn"=>"arn",
|
||||
"worker"=>{ "nodePools"=>[{ "name"=>"nodepool1" }] },
|
||||
"addons"=>{ "rescheduler"=>{ "enabled"=>false } } }
|
||||
cluster = {
|
||||
"clusterName" => "test-cluster",
|
||||
"apiEndpoints" => [{
|
||||
"name" => "default",
|
||||
"dnsName" => "dns",
|
||||
"loadBalancer" => { "createRecordSet" => false },
|
||||
}],
|
||||
"keyName" => "key",
|
||||
"region" => "west",
|
||||
"availabilityZone" => "zone",
|
||||
"kmsKeyArn" => "arn",
|
||||
"worker" => { "nodePools" => [{ "name"=>"nodepool1" }] },
|
||||
"addons" => { "rescheduler" => { "enabled"=>false } },
|
||||
}
|
||||
system "#{bin}/kube-aws", "init", "--cluster-name", "test-cluster",
|
||||
"--external-dns-name", "dns", "--region", "west",
|
||||
"--availability-zone", "zone", "--key-name", "key",
|
||||
|
|
Loading…
Reference in a new issue