1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/scenarios/other/scenario_mutate_pod_spec.yaml

20 lines
623 B
YAML
Raw Normal View History

# file path relative to project root
input:
policy: test/policy/mutate/policy_mutate_pod_spec.yaml
resource: test/resources/resource_mutate_pod_spec.yaml
expected:
mutation:
patchedresource: test/output/output_mutate_pod_spec.yaml
policyresponse:
policy:
name: mutate-pods-spec
resource:
kind: Deployment
apiVersion: apps/v1
namespace: test-foo-aaaaaaaaa-bbbbbbbb
name: nginx-deployment
rules:
- name: disable-servicelink-and-token
type: Mutation
status: pass
2020-11-17 12:01:01 -08:00
message: successfully processed strategic merge patch