Skip to content

Commit 910914e

Browse files
committed
preserve AccessConfig during AWSManagedControlPlane API conversions
1 parent f5554f1 commit 910914e

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
@@ -117,6 +117,7 @@ func (r *AWSManagedControlPlane) ConvertTo(dstRaw conversion.Hub) error {
117117

118118
dst.Spec.Partition = restored.Spec.Partition
119119
dst.Spec.RestrictPrivateSubnets = restored.Spec.RestrictPrivateSubnets
120+
dst.Spec.AccessConfig = restored.Spec.AccessConfig
120121
dst.Spec.RolePath = restored.Spec.RolePath
121122
dst.Spec.RolePermissionsBoundary = restored.Spec.RolePermissionsBoundary
122123
dst.Status.Version = restored.Status.Version

0 commit comments

Comments
 (0)