1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-22 15:50:36 +00:00
kyverno/test/conformance/chainsaw/validating-policies/report-message-exp/chainsaw-test.yaml
shuting c0ab93b95b
fix: autogen status for ivpol (#12431)
* feat: enable mutating webhook for ivpol

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: unit tests

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: add objects to payload

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: add chainsaw test

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: add update codegen

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: propagate policy response to admission reponse

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: update chainsaw tests

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: ivpol autogen meta

Signed-off-by: ShutingZhao <shuting@nirmata.com>

---------

Signed-off-by: ShutingZhao <shuting@nirmata.com>
2025-03-18 10:40:21 +00:00

24 lines
548 B
YAML

# yaml-language-server: $schema=https://raw.githubusercontent.com/kyverno/chainsaw/main/.schemas/json/test-chainsaw-v1alpha1.json
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
name: accept
spec:
template: false
steps:
- name: create policy
try:
- create:
file: policy.yaml
- assert:
file: policy-assert.yaml
- name: create deployment
try:
- create:
file: deployment.yaml
- sleep:
duration: 10s
- name: check report
try:
- assert:
file: report.yaml