Javatar81 / devjoy

2 stars 0 forks source link

OAuthClient is cluster scope and can thus not be owned by a namespace scope resource #56

Closed Javatar81 closed 7 months ago

Javatar81 commented 7 months ago

io.devjoy.gitea.k8s.dependent.gitea.GiteaOAuthClientDependentResource -> io.javaoperatorsdk.operator.OperatorException: Cannot add owner reference from a cluster scoped to a namespace scoped resource. Owner name: mygiteait Kind: Gitea, Resource name: mygiteait-client Kind: OAuthClient

We need to remove GarbageCollected and delete it in finalize.