Skip to content

Commit 4fdb6c2

Browse files
committed
preserve AccessConfig during AWSManagedControlPlane API conversions
1 parent 39b209c commit 4fdb6c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controlplane/eks/api/v1beta1/conversion.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ func (r *AWSManagedControlPlane) ConvertTo(dstRaw conversion.Hub) error {
4141
dst.Spec.VpcCni.Disable = r.Spec.DisableVPCCNI
4242
dst.Spec.Partition = restored.Spec.Partition
4343
dst.Spec.RestrictPrivateSubnets = restored.Spec.RestrictPrivateSubnets
44+
dst.Spec.AccessConfig = restored.Spec.AccessConfig
4445

4546
return nil
4647
}

0 commit comments

Comments
 (0)