Crash on startup from ClusterResourceSetBindingController #5961
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
kind/release-blocking
Issues or PRs that need to be closed before the next CAPI release
Milestone
Using backup and restore on a workload cluster with a ClusterResourceSet and ClusterResourceSetBinding which resulted in a crash on startup in the ClusterResourceSetBinding controller. The issue is a nil pointer exception due to insufficient nil checking around
cluster-api/exp/addons/internal/controllers/clusterresourcesetbinding_controller.go
Line 85 in f072182
Both cluster and error can be nil from the GetOwnerCluster function but this is not caught by our checks.
/good-first-issue
/kind bug
The text was updated successfully, but these errors were encountered: