Closed Alveel closed 2 weeks ago
Thanks for opening this issue :+1:. The team will review it shortly.
If this is a bug report, make sure to include clear instructions how on to reproduce the problem with minimal reproducible examples, where possible. If this is a security report, please review our security policy as outlined in SECURITY.md.
If you haven't already, please take a moment to review our project's Code of Conduct document.
Describe the bug Some operators add custom
ownerReferences
to their objects/pods (in this case, StackGres. Kanister currently does not handle anything except a single owner reference.To Reproduce Steps to reproduce the behavior:
ownerReferences
and add an entryActionSet
that targets the statefulsetExpected behavior Kanister should look at any and all
ownerReferences
of a pod and find a match.Screenshots In Kasten we get the following error:
Environment Kubernetes Version/Provider: OpenShift 4.14 Storage Provider: MinIO Cluster Size (#nodes): 12 Data Size: any
Additional context We are a customer of Veeam Kasten and are experiencing this issue.
Relevant code: https://github.com/kanisterio/kanister/blob/1708d6cb57d329cca1b932a5e4fa9c9afacfe1d2/pkg/kube/workload.go#L296-L302 https://github.com/kanisterio/kanister/blob/1708d6cb57d329cca1b932a5e4fa9c9afacfe1d2/pkg/kube/workload.go#L322-L329 https://github.com/kanisterio/kanister/blob/1708d6cb57d329cca1b932a5e4fa9c9afacfe1d2/pkg/kube/workload.go#L347-L350