Fixes imports

This commit is contained in:
Eric Hole 2017-06-30 10:00:18 -07:00
parent f5b99da033
commit 211b6e4d98
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,7 @@ func (tf *TemplateFunctions) GetInstanceGroup(name string) (*api.InstanceGroup,
return nil, fmt.Errorf("InstanceGroup %q not found", name)
}
// DnsControllerArgv returns the args to the DNS controller
func (tf *TemplateFunctions) DnsControllerArgv() ([]string, error) {
var argv []string
@ -142,6 +143,7 @@ func (tf *TemplateFunctions) DnsControllerArgv() ([]string, error) {
argv = append(argv, "--watch-ingress=false")
}
switch fi.CloudProviderID(tf.cluster.Spec.CloudProvider) {
case fi.CloudProviderAWS:
argv = append(argv, "--dns=aws-route53")