1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-12 10:56:54 +00:00
kyverno/test/conformance/kuttl/verifyImages/clusterpolicy/standard/rollback-image-verification
Amit kumar c276060ff8
Modified annotation matching during rollback (#7752)
* enhanced has changed func

Signed-off-by: hackeramitkumar <amit9116260192@gmail.com>

* modified changed annotation func

Signed-off-by: hackeramitkumar <amit9116260192@gmail.com>

* modified HasImageVerifiedAnnotationChanged

Signed-off-by: hackeramitkumar <amit9116260192@gmail.com>

* nits

Signed-off-by: hackeramitkumar <amit9116260192@gmail.com>

* added kuttl-test

Signed-off-by: hackeramitkumar <amit9116260192@gmail.com>

* added ghcr.io/kyverno images

Signed-off-by: hackeramitkumar <amit9116260192@gmail.com>

* fixed unit tests

Signed-off-by: hackeramitkumar <amit9116260192@gmail.com>

* fixed unit tests

Signed-off-by: hackeramitkumar <amit9116260192@gmail.com>

---------

Signed-off-by: hackeramitkumar <amit9116260192@gmail.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
Co-authored-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
2023-07-24 08:10:07 +00:00
..
01-policy.yaml Modified annotation matching during rollback (#7752) 2023-07-24 08:10:07 +00:00
02-resource.yaml Modified annotation matching during rollback (#7752) 2023-07-24 08:10:07 +00:00
03-test.yaml Modified annotation matching during rollback (#7752) 2023-07-24 08:10:07 +00:00
04-assert.yaml Modified annotation matching during rollback (#7752) 2023-07-24 08:10:07 +00:00
deployment-assert.yaml Modified annotation matching during rollback (#7752) 2023-07-24 08:10:07 +00:00
deployment_new.yaml Modified annotation matching during rollback (#7752) 2023-07-24 08:10:07 +00:00
deployment_old.yaml Modified annotation matching during rollback (#7752) 2023-07-24 08:10:07 +00:00
policy-ready.yaml Modified annotation matching during rollback (#7752) 2023-07-24 08:10:07 +00:00
policy.yaml Modified annotation matching during rollback (#7752) 2023-07-24 08:10:07 +00:00
README.md Modified annotation matching during rollback (#7752) 2023-07-24 08:10:07 +00:00

Description

This test verifies images during rollback

Expected Behavior

This test creates a ClusterPolicy and Deployments, and when we perform a rollback, it will be successfully rolled back.

Reference Issue(s)

5363