apiVersion: batch/v1
kind: Job
metadata:
  name: html-deploy-f1-cn-master
spec:
  backoffLimit: 0
  template:
    spec:
      containers:
      - name: html-deploy-container
        image: mktfeacr.azurecr.io/f1-cn
        command: ["rsync", "-avh", "/newData/", "/srcData/"]
        volumeMounts:
          - mountPath: "/srcData"
            name: pvc
      restartPolicy: Never
      volumes:
        - name: pvc
          persistentVolumeClaim:
            claimName: az-file-premium-pvc-f1-dev-master
