diff --git a/other/get-debug-information/generate-policy.yaml b/other/get-debug-information/generate-policy.yaml index cdd52f043..6f72099b8 100644 --- a/other/get-debug-information/generate-policy.yaml +++ b/other/get-debug-information/generate-policy.yaml @@ -6,7 +6,7 @@ metadata: policies.kyverno.io/title: Collect debug information for pods in crashloopback policies.kyverno.io/category: Other policies.kyverno.io/severity: medium - policies.kyverno.io/subject: Deployment + policies.kyverno.io/subject: Pod kyverno.io/kyverno-version: 1.11.5 kyverno.io/kubernetes-version: "1.27" policies.kyverno.io/description: "This policy generates a job which gathers troubleshooting data (including logs, kubectl describe output and events from the namespace) from pods that are in crashloopback and have 3 restarts. This data can further be used to automatically create a jira issue using some kind of automation or another Kyverno policy. For more information on how the image used in this policy was built, see https://github.com/nirmata/SRE-Operational-Usecases/tree/main/get-troubleshooting-data/get-debug-data. "