apiVersion: v1
kind: Pod
metadata:
  name: nfs-server
  labels:
    role: nfs-server
spec:
  containers:
    - name: nfs-server
      image: quay.io/openshifttest/nfs-server
      imagePullPolicy: IfNotPresent
      ports:
        - name: nfs
          containerPort: 2049
      securityContext:
        privileged: true
      volumeMounts:
        - mountPath: "/mnt/data"
          name: local
  volumes:
    - name: local
      emptyDir: {}
