apiVersion: apps/v1
kind: Deployment
metadata:
  name: test-pod
spec:
  replicas: 1
  selector:
    matchLabels:
      app: test-pod
  template:
    metadata:
      labels:
        app: test-pod
    spec:
      containers:
      - name: test-pod
        image: quay.io/noseka1/openshift-toolbox:basic
        imagePullPolicy: Always
        volumeMounts:
        - name: init
          mountPath: /toolbox
        - name: host
          mountPath: /mnt
          # HostToContainer mount propagation is required
          mountPropagation: HostToContainer
      serviceAccountName: test-pod
      volumes:
      - name: init
        configMap:
          name: test-pod-init
      - name: host
        hostPath:
          path: /var/mnt
