1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-13 15:57:31 +00:00
kyverno/test/scenarios/other/scenario_mutate_pod_disable_automountingapicred.yaml

19 lines
651 B
YAML
Raw Normal View History

2019-10-14 10:47:54 -07:00
# file path relative to project root
input:
2019-10-14 12:36:19 -07:00
policy: test/scenarios/mutate/policy_mutate_pod_disable_automountingapicred.yaml
resource: test/scenarios/mutate/resource_mutate_pod_disable_automountingapicred.yaml
2019-10-14 10:47:54 -07:00
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