The document app.yml contains a valid Deployment The document app.yml contains a valid Service The document app.yml contains a valid Deployment $ ./kubeval app-nako-scanner.yml The document app-nako-scanner.yml contains a valid NetworkPolicy The document app-nako-scanner.yml contains a valid Deployment $ ./kubectl apply -f app-nako-scanner.yml error: error validating "app-nako-scanner.yml": error validating data: ValidationError(NetworkPolicy.spec.egress[0].to[0].ipBlock): unknown field "expect" in io.k8s.api.networking.v1.IPBlock; if you choose to ignore these errors, turn validation off with --validate=false