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)
|
return nil, fmt.Errorf("InstanceGroup %q not found", name)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DnsControllerArgv returns the args to the DNS controller
|
||||||
func (tf *TemplateFunctions) DnsControllerArgv() ([]string, error) {
|
func (tf *TemplateFunctions) DnsControllerArgv() ([]string, error) {
|
||||||
var argv []string
|
var argv []string
|
||||||
|
|
||||||
|
@ -142,6 +143,7 @@ func (tf *TemplateFunctions) DnsControllerArgv() ([]string, error) {
|
||||||
argv = append(argv, "--watch-ingress=false")
|
argv = append(argv, "--watch-ingress=false")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
switch fi.CloudProviderID(tf.cluster.Spec.CloudProvider) {
|
switch fi.CloudProviderID(tf.cluster.Spec.CloudProvider) {
|
||||||
case fi.CloudProviderAWS:
|
case fi.CloudProviderAWS:
|
||||||
argv = append(argv, "--dns=aws-route53")
|
argv = append(argv, "--dns=aws-route53")
|
||||||
|
|
Loading…
Reference in New Issue