mirror of https://github.com/kubernetes/kops.git
Fixes imports
This commit is contained in:
parent
f5b99da033
commit
211b6e4d98
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue