Mount input-artifacts
into initContainers
#11519
Labels
area/artifacts
S3/GCP/OSS/Git/HDFS etc
solution/workaround
There's a workaround, might not be great, but exists
type/feature
Feature request
Summary
Currently
initContainers
can't accessinput: artifacts
.Workaround:
Given the structure of the Workflow yaml, I'd naturally assumed that the
input-artifacts
would be mounted intoinitContainers
also.Use Cases
Due to a lack of a
when
clause on output artifacts I have ainitContainer
doing the real work which needs the artifacts and acontainer
whose code conditionally copies them to a different file path and then making the artifacts optional.I also commonly use an initContainer pattern as storage is difficult in EKS where we can't assume Workflow Pods will be scheduled in the same availability zone to use EBS backed PVCs.
Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.
The text was updated successfully, but these errors were encountered: