---
apiVersion: v1
kind: Pod
metadata:
  name: host-path
spec:
  securityContext:
    runAsNonRoot: true
  containers:
  - name: host-path
    image: kubernetes/pause
    volumeMounts:
      - name: hostdir
        mountPath: /tmp
  volumes:
  - name: hostdir
    hostPath:
        path: /root
