volumeClaimTemplates in WorkflowTemplate works only with workflowTemplateRef and not templateRef #13977
Open
3 of 4 tasks
Labels
solution/workaround
There's a workaround, might not be great, but exists
type/feature
Feature request
Pre-requisites
:latest
image tag (i.e.quay.io/argoproj/workflow-controller:latest
) and can confirm the issue still exists on:latest
. If not, I have explained why, in detail, in my description below.What happened? What did you expect to happen?
volumeClaimTemplates
defined in WorkflowTemplate does not work when workflow template referred to viatemplateRef
.It errors with the following message
volume 'workdir' not found in workflow spec
However, it works when WorkflowTemplate is referred to via
workflowTemplateRef
.Documentation does not mention anything about this limitation.
Use case:
Multiple pods running in parallel in the same instance of workflow can only use
ReadWriteOnce
access mode but this does not work when pods are scheduled on different nodes. Since there's no requirement for pods to share the same volume we would like to create volume per pod and the number of pods varies so number of volumes cannot be determined upfront.Version(s)
v3.5.12
Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Logs from the workflow controller
Logs from in your workflow's wait container
The text was updated successfully, but these errors were encountered: