Merge pull request #2111 from dacohen/master

Remove requirement to define SSH and K8S API Access CIDRs
This commit is contained in:
Justin Santa Barbara 2017-03-16 11:07:32 -04:00 committed by GitHub
commit 59d097b6be
1 changed files with 0 additions and 12 deletions

View File

@ -267,18 +267,6 @@ func ValidateCluster(c *kops.Cluster, strict bool) error {
}
}
// AdminAccess
if strict && len(c.Spec.SSHAccess) == 0 {
// TODO: We may want to allow this
return fmt.Errorf("SSHAccess not configured")
}
// AdminAccess
if strict && len(c.Spec.KubernetesAPIAccess) == 0 {
// TODO: We may want to allow this (maybe)
return fmt.Errorf("KubernetesAPIAccess not configured")
}
// KubeProxy
if c.Spec.KubeProxy != nil {
kubeProxyPath := specPath.Child("KubeProxy")