Closed kandy closed 1 month ago
templates: - name: run-app sidecars: - name: db env: - name: MYSQL_ROOT_PASSWORD value: "root" image: mysql:8.0.36 args: [ "--default-authentication-plugin=mysql_native_password" ] steps:
sidecars
and steps
cannot be used together like that. Per the documentation, sidecars
is used together with container
.
If you want a sidecar
for multiple steps or want to run a daemon process like MySQL, you can use the Daemon Containers feature instead. Or if you want a sidecar
, you can run it per container
template (not per step template)
@agilgur5, Thanks for suggestion, I already modified my workflow to use "daemon" is there any reason why there is no validation?
The Controller does some validation and will mark a Workflow as errored if it fails validation.
Full schema validation via CRDs is unfortunately not possible as most of Argo's CRDs exceed the etcd 1MB size limit; see also #11266, #13503, and upstream https://github.com/kubernetes/kubernetes/issues/82292
I see, thank for clarification
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?
What i did: run
argo submit -n argo --log workflow-sidecar.yaml
What happened:
What did you expect to happen?
Version(s)
v3.5.11
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