mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
chore: run codegen-fix-tests (#9942)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
This commit is contained in:
parent
67dee8d331
commit
8369ab6ee1
3 changed files with 13 additions and 14 deletions
|
@ -3,15 +3,15 @@ kind: Test
|
|||
metadata:
|
||||
name: kyverno-test.yaml
|
||||
policies:
|
||||
- policy.yaml
|
||||
- policy.yaml
|
||||
resources:
|
||||
- resource.yaml
|
||||
- resource.yaml
|
||||
results:
|
||||
- policy: clone-list-secrets
|
||||
rule: clone-list-labelled-secrets
|
||||
resources:
|
||||
- hello-world-namespace
|
||||
cloneSourceResource: cloneSourceResources.yaml
|
||||
generatedResource: generatedResource.yaml
|
||||
kind: Namespace
|
||||
result: pass
|
||||
- cloneSourceResource: cloneSourceResources.yaml
|
||||
generatedResource: generatedResource.yaml
|
||||
kind: Namespace
|
||||
policy: clone-list-secrets
|
||||
resources:
|
||||
- hello-world-namespace
|
||||
result: pass
|
||||
rule: clone-list-labelled-secrets
|
||||
|
|
|
@ -6,4 +6,3 @@ policies:
|
|||
- name: test-delete
|
||||
values:
|
||||
request.operation: DELETE
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: cli.kyverno.io/v1alpha1
|
||||
globalValues:
|
||||
request.oldObject.metadata.labels.existing-label: foo
|
||||
request.operation: UPDATE
|
||||
kind: Value
|
||||
metadata:
|
||||
name: values
|
||||
globalValues:
|
||||
request.operation: UPDATE
|
||||
request.oldObject.metadata.labels.existing-label: foo
|
Loading…
Reference in a new issue