Reconciler error when updating AWSMCP publicCIDRs to empty list with endpointPrivateAccess: true and endpointPublicAccess: false #5441
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
/kind bug
What steps did you take and what happened:
CAPA EKS reconciler errors when an EKS cluster is deployed with:
endpointPrivateAccess: true
endpointPublicAccess: false
...and later, the AWSManagedControlPlane (AWSMCP) resource is updated to change
publicCIDRs
from a list of IPs to an empty list.This results in a
Reconciler error
:What steps did you take and what happened:
[A clear and concise description of what the bug is.]
Update EKS AWSMCP PublicCIDRS to empty for a private access cluster
What did you expect to happen:
EKS Cluster updated with PublicAccessCIDRS to empty list
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version
):/etc/os-release
):The text was updated successfully, but these errors were encountered: