kubernetes-ingress icon indicating copy to clipboard operation
kubernetes-ingress copied to clipboard

Warning "Secret '[...]' not registered with controller !" for secrets created by rook ceph ObjectBucketClaim

Open phihos opened this issue 11 months ago • 3 comments

After upgrading the IC from 1.11 to 3.0 we suddenly got this warning two times:

WARNING store/events.go:250  Secret '[...]' not registered with controller !

In both cases it was a secret generated for a ObjectBucketClaim resource. It is apparent that this is not intended.

Theory: Both secrets have an owner reference like this:

  ownerReferences:
  - apiVersion: objectbucket.io/v1alpha1
    blockOwnerDeletion: true
    controller: true
    kind: ObjectBucketClaim

Could it be that the IC watches an overly broad selector which checks for ownerReferences[*].controller==true or similar?

phihos avatar Jan 30 '25 21:01 phihos