1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/test/resources/disallow_host_filesystem.yaml
shivkumar dudhani 4e5f551fa7 clean up
2019-10-14 14:10:34 -07:00

18 lines
No EOL
371 B
YAML

apiVersion: "v1"
kind: "Pod"
metadata:
name: "image-with-hostpath"
labels:
app.type: "prod"
namespace: "my-namespace"
spec:
containers:
- name: "image-with-hostpath"
image: "docker.io/nautiker/curl"
volumeMounts:
- name: "var-lib-etcd"
mountPath: "/var/lib"
volumes:
- name: "var-lib-etcd"
hostPath:
path: "/var/lib"