kubestellar / kubeflex

A flexible and scalable platform for running Kubernetes control plane APIs.
Apache License 2.0
47 stars 13 forks source link

bug: Cannot delete control plane #149

Closed pdettori closed 11 months ago

pdettori commented 11 months ago

Describe the bug

Deleting a control plane fails and logs show:

Failed to watch *v1.CustomResourceDefinition: failed to list *v1.CustomResourceDefinition: customresourcedefinitions.apiextensions.k8s.io is forbidden: User "system:serviceaccount:kubeflex-system:kubeflex-controller-manager" cannot list resource "customresourcedefinitions" in API group "apiextensions.k8s.io" at the cluster scope

Steps To Reproduce

  1. Create new control plane
  2. Delete control plane
  3. Check kubeflex controller logs

Expected Behavior

Delete should work

Additional Context

No response