kind: Pod
apiVersion: v1
metadata:
  name: ibm-spectrum-scale-csi-test-pod  
spec:
  containers:
  - name: csi-test
    image: quay.io/jainbrt/ibm-spectrum-scale-csi-test:x86 #container iamge for x86
#    image: quay.io/jainbrt/ibm-spectrum-scale-csi-test:ppcle64 #container iamge for ppcle64
#    image: quay.io/jainbrt/ibm-spectrum-scale-csi-test:s390x  #container iamge for s390x
    securityContext:
      privileged: true
    command: [ "/bin/sh", "-c", "--" ]
    args: [ "while true; do sleep 120; done;" ]
    imagePullPolicy: "Always"
    volumeMounts:
    - mountPath: /data
      name: report
    - mountPath: /ibm-spectrum-scale-csi/tests/functional-tests/config
      name: test-config
  volumes:
  - configMap:
      defaultMode: 420
      name: test-config  #test-config configmap for configuration files 
    name: test-config
  - hostPath:
      path: /ibm/gpfs0    #local path for saving the test reports files on node of running pod
    name: report
  restartPolicy: "Never"
  nodeSelector:
     kubernetes.io/hostname: "<Worker Node name>" #node selector for scheduling the test pod
