Skip to content

Commit

Permalink
Merge pull request kubernetes#2111 from dacohen/master
Browse files Browse the repository at this point in the history
Remove requirement to define SSH and K8S API Access CIDRs
  • Loading branch information
justinsb authored Mar 16, 2017
2 parents 14bfd2d + 8945f16 commit 59d097b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pkg/apis/kops/validation/legacy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 59d097b

Please sign in to comment.