mirror of https://github.com/kubernetes/kops.git
Don't set Subnet dependency on AmazonIPv6CIDR for shared VPCs
This commit is contained in:
parent
e7550dcefc
commit
eb574a414c
|
|
@ -252,7 +252,9 @@ func (b *NetworkModelBuilder) Build(c *fi.ModelBuilderContext) error {
|
|||
}
|
||||
|
||||
if subnetSpec.IPv6CIDR != "" {
|
||||
subnet.AmazonIPv6CIDR = b.LinkToAmazonVPCIPv6CIDR()
|
||||
if !sharedVPC {
|
||||
subnet.AmazonIPv6CIDR = b.LinkToAmazonVPCIPv6CIDR()
|
||||
}
|
||||
subnet.IPv6CIDR = fi.String(subnetSpec.IPv6CIDR)
|
||||
}
|
||||
if subnetSpec.ProviderID != "" {
|
||||
|
|
|
|||
Loading…
Reference in New Issue