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

Delete policy.yaml

This commit is contained in:
shuting 2019-07-18 15:37:34 -07:00 committed by GitHub
parent 4e84e934f0
commit d6ea21d4e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,24 +0,0 @@
apiVersion : kyverno.io/v1alpha1
kind: Policy
metadata:
name: pod-security-context
spec:
rules:
- name: set-userID
resource:
kinds:
- Deployment
selector :
matchLabels:
app.type: prod
validate:
message: "secure pod"
pattern:
spec:
template:
spec:
hostNetwork: false
hostIPC: false
hostPID: false
securityContext:
runAsNonRoot: true