add test pols

This commit is contained in:
2026-05-19 16:37:43 +07:00
parent ffa61ab646
commit e995770695
4 changed files with 100 additions and 2 deletions
+2 -2
View File
@@ -26,8 +26,8 @@ kubectl get clusterpolicy my-policy -o yaml | grep -A 10 "status:"
```bash
# Kyverno CLI — самый быстрый способ проверить
kyverno apply my-policy.yaml \
--resource my-resource.yaml \
kyverno apply test-pols/policy-require-labels.yaml \
--resource test-deployment.yaml \
--detailed-results
# Вывод: