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
"deployments.apps \"memcached-sample\" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>"
I think this could be solved by including the following in the default controller scaffold:
When deploying operators to clusters that have the
OwnerReferencesPermissionEnforcement
admission controller enabled, I want my operator to work without having to figure out why I get an error like this:"deployments.apps \"memcached-sample\" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>"
I think this could be solved by including the following in the default controller scaffold:
// +kubebuilder:rbac:groups=<group>.<domain>,resources=<resource>/finalizers,verbs=get;update;patch
/kind feature
The text was updated successfully, but these errors were encountered: