mirror of https://github.com/kubernetes/kops.git
Improve error message when trying to use IPv6 with amazonvpc networking
This commit is contained in:
parent
991ab04201
commit
566d7d0527
|
|
@ -93,7 +93,7 @@ func PerformAssignments(c *kops.Cluster, cloud fi.Cloud) error {
|
|||
}
|
||||
|
||||
// Amazon VPC CNI uses the same network
|
||||
if c.Spec.Networking.AmazonVPC != nil {
|
||||
if c.Spec.Networking.AmazonVPC != nil && c.Spec.Networking.NonMasqueradeCIDR != "::/0" {
|
||||
c.Spec.Networking.NonMasqueradeCIDR = c.Spec.Networking.NetworkCIDR
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue