kube-aws: fix rubocop warnings.

This commit is contained in:
Mike McQuaid 2017-05-28 17:57:05 +01:00
parent 552eb13c5a
commit a38097c264

View file

@ -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",