You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: nil pointer dereferences in private cluster reconciliation
Fixes two nil pointer dereference issues when creating/reconciling
private GKE clusters with PSC (no controlPlaneCidrBlock):
1. Initialize NetworkConfig before accessing DefaultEnablePrivateNodes
(reconcile.go:229-240) - based on PR kubernetes-sigs#1503
2. Initialize DesiredControlPlaneEndpointsConfig.IpEndpointsConfig
before assigning AuthorizedNetworksConfig in checkDiffAndPrepareUpdate
(reconcile.go:520-525)
Related issues:
- kubernetes-sigs#1497
- kubernetes-sigs#1503
0 commit comments