failure of suspend-thanos-compactor ClusterPolicy ('deployments.apps "thanos-compactor" not found')

In a recent run on the CI, we observed that the suspend-thanos-compactor policy failed under the job 8609970695

Retrieving management-cluster-kubeconfig artifact from deploy-management-cluster with ID: 8609970526 job
$ error=0 # collapsed multi-line command
policyreport ad8bc513-5672-4e44-b912-f3b80c43dcf2 in sylva-system namespace was in FAIL/WARN/ERROR
scope:
  apiVersion: kustomize.toolkit.fluxcd.io/v1
  kind: Kustomization
  name: cluster-machines-ready
  namespace: sylva-system
  uid: ad8bc513-5672-4e44-b912-f3b80c43dcf2
results:
  - message: ': deployments.apps "thanos-compactor" not found'
    policy: suspend-thanos-compactor
    result: error
    rule: suspend-thanos-compactor
    scored: true
    source: kyverno
    timestamp:
      nanos: 0
      seconds: 1733913197

Taking this into consideration, we need to understand why this policy was in FAIL/WARN/ERROR and fix the issue. The related deploy-management-cluster job can be found here.

Assignee Loading
Time tracking Loading