Skip to content

Invalid OwnerReference for any object with a OwnerReference #1

Description

@spimmer

First of all I really like the idea of this project!

I get a the error Detected invalid ownerReference on object for any object, which has a OwnerReference don't matter if it is valid or not.

I temporarly added a logging of the output of the err of the function OwnerExists and got Error getting OwnerReference: the server could not find the requested resource for every resource.

So, there seems to be a problem with the request here:
https://github.com/SupportTools/RancherResourceScanner/blob/cb4f8440f841eadcec95091d70662b55573d5e67/pkg/k8s/k8s.go#L374C27-L374C60

Unfortunatly I am not a Go developer myself, so I was not able to debug it further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions