name: admission-user-info
policies:
  -  disallow_latest_tag.yaml
resources:
  -  resource.yaml
userinfo: user_info.yaml

results:
  - policy: disallow-latest-tag
    rule: require-image-tag
    resource: myapp-pod1
    kind: Pod
    result: pass
  - policy: disallow-latest-tag
    rule: require-image-tag
    resource: myapp-pod2
    kind: Pod
    result: pass
  - policy: disallow-latest-tag
    rule: require-image-tag
    resource: myapp-pod3
    kind: Pod
    result: pass
  - policy: disallow-latest-tag
    rule: validate-image-tag
    resource: myapp-pod1
    kind: Pod
    result: pass
  - policy: disallow-latest-tag
    rule: validate-image-tag
    resource: myapp-pod2
    kind: Pod
    result: pass
  - policy: disallow-latest-tag
    rule: validate-image-tag
    resource: myapp-pod3
    kind: Pod
    result: pass