Is this a BUG REPORT or FEATURE REQUEST?:
Bug Report ? I don't know
What happened:
Pod "tefde-vajont-test-argo-2763208270" is invalid: spec.containers[0].volumeMounts[0].name: Not found: "volumeName"
What you expected to happen: The volume is mounted correctly in my container
How to reproduce it (as minimally and precisely as possible):
````
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
name: argo
namespace: namespace
generateName: k6-workflow
spec:
serviceAccountName: argo
entrypoint: k6test
volumes:
Environment:
Might be a bug with volumes + script templates. Will take a look.
Here is a workaround which uses raw input artifacts:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: input-artifact-raw-
spec:
entrypoint: raw-contents
templates:
- name: raw-contents
inputs:
artifacts:
- name: myfile
path: /tmp/file
raw:
data: |
this is
the raw file
contents
container:
image: python:3.7
command: [sh, -c]
args: ["python /tmp/file > /tmp/output"]
outputs:
parameters:
- name: my-output
valueFrom:
path: /tmp/output
Nice, thanks !
Most helpful comment
Might be a bug with volumes + script templates. Will take a look.