authz/authz-cr-validation/valid.yaml (16 lines of code) (raw):
apiVersion: networking.gke.io/v1
kind: GCPAuthzPolicy
metadata:
name: "test"
spec:
action: DENY
httpRules:
- to:
operations:
- paths:
- type: Exact
value: "/"
targetRefs:
- kind: Deployment
name: test-deploy
group: ""