5 namespace: $PVC_CLEANER_NAMESPACE
7 run: $PVC_CLEANER_APP_NAME
13 image: $PVC_CLEANER_IMAGE
16 command: ["/bin/sh","-c"]
17 args: ["rm -rf $PVC_CLEANER_RM_PATH/* ; if [ $? -ne 0 ]; then echo 'Delete failure: '$PVC_CLEANER_RM_PATH; else echo 'Delete OK: '$PVC_CLEANER_RM_PATH; fi"]
19 - mountPath: $PVC_CLEANER_RM_PATH
20 name: pvc-cleaner-m-vol
22 - name: pvc-cleaner-m-vol
23 persistentVolumeClaim:
24 claimName: $PVC_CLEANER_CLAIMNAME