1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-07 00:17:13 +00:00
kyverno/test/conformance/kuttl/mutate/refactor/add-image-as-env-var
Charles-Edouard Brétéché b9afce90ad
fix: mutation code (#7095)
* fix: mutation code

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* kuttl tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-05-05 15:40:23 +00:00
..
01-policy.yaml fix: mutation code (#7095) 2023-05-05 15:40:23 +00:00
02-resource.yaml fix: mutation code (#7095) 2023-05-05 15:40:23 +00:00
policy-ready.yaml fix: mutation code (#7095) 2023-05-05 15:40:23 +00:00
policy.yaml fix: mutation code (#7095) 2023-05-05 15:40:23 +00:00
README.md fix: mutation code (#7095) 2023-05-05 15:40:23 +00:00
resource-mutated.yaml fix: mutation code (#7095) 2023-05-05 15:40:23 +00:00
resource.yaml fix: mutation code (#7095) 2023-05-05 15:40:23 +00:00

Description

This is a test of the policy in this folder.

Note: In order for this test to work on Pods emitted from Pod controllers, the Kyverno ConfigMap excludeGroups value may need to be modified to remove the entry for system:serviceaccounts:kube-system or else mutation may not occur.

Expected Behavior

The resource is expected to be mutated so it resembles the specified asserted resources. If it does, the test passes. If it does not, it fails.

Reference Issue(s)

N/A