I have the following volume claim configuration in the workflow template, but still volume claim is not happening after job completion even if one of the phases fails.
volumeClaimGC:
strategy: OnWorkflowCompletion
volumeClaimTemplates: # persistent volumes share data between steps; created and deleted per each run
- metadata:
name: root
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 1Mi
Please suggest if I am missing anything