mirror of
https://github.com/kyverno/kyverno.git
synced 2025-04-13 15:57:31 +00:00
19 lines
No EOL
665 B
YAML
19 lines
No EOL
665 B
YAML
# file path relative to project root
|
|
input:
|
|
policy: examples/best_practices/policy_mutate_pod_disable_automountingapicred.yaml
|
|
resource: examples/best_practices/resources/resource_mutate_pod_disable_automountingapicred.yaml
|
|
expected:
|
|
mutation:
|
|
patchedresource: test/output/output_mutate_pod_disable_automoutingapicred.yaml
|
|
policyresponse:
|
|
policy: mutate-pod-disable-automoutingapicred
|
|
resource:
|
|
kind: Pod
|
|
apiVersion: v1
|
|
namespace: ''
|
|
name: myapp-pod
|
|
rules:
|
|
- name: pod-disable-automoutingapicred
|
|
type: Mutation
|
|
message: "succesfully process overlay"
|
|
success: true |