mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-23 16:20:40 +00:00
* 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>
26 lines
507 B
YAML
Executable file
26 lines
507 B
YAML
Executable file
apiVersion: chainsaw.kyverno.io/v1alpha1
|
|
kind: Test
|
|
metadata:
|
|
name: apicall-correct
|
|
spec:
|
|
steps:
|
|
- try:
|
|
- apply:
|
|
file: namespace.yaml
|
|
- apply:
|
|
file: main-deployment.yaml
|
|
- apply:
|
|
file: gctxentry.yaml
|
|
- sleep:
|
|
duration: 3s
|
|
- name: create policy
|
|
try:
|
|
- create:
|
|
file: policy.yaml
|
|
- assert:
|
|
file: policy-assert.yaml
|
|
- try:
|
|
- apply:
|
|
file: new-deployment.yaml
|
|
- assert:
|
|
file: new-deployment-exists.yaml
|