how to mount volume to the 'wait' container? #7495
-
i'm trying to setup https://argoproj.github.io/argo-workflows/configure-archive-logs/ to write logs to s3 but the 'wait' container is showing this error:
i used suggestion in #7461 (reply in thread) and can verify the volumes/env are appearing on my main container (looking at kubectl describe po) but not the wait container. part of my configmap: artifactRepository:
archiveLogs: true
s3:
bucket: redact
endpoint: s3.amazonaws.com
insecure: false
keyFormat: "argo_logs/"
region: eu-west-1
roleARN: arn:aws:iam::redact:role/redactrole
useSDKCreds: true looking at https://github.com/argoproj/argo-helm/blob/master/charts/argo-workflows/values.yaml#L253 there is section for env but not volumes |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
You can patch your containers via Another solution is to customize your executor container spec in the controller configmap: https://github.com/argoproj/argo-workflows/blob/master/docs/workflow-controller-configmap.yaml#L190-L213 |
Beta Was this translation helpful? Give feedback.
-
None of the suggestions would work. |
Beta Was this translation helpful? Give feedback.
You can patch your containers via
podSpecPatch
in your workflow, e.g. https://github.com/argoproj/argo-workflows/blob/master/examples/pod-spec-patch.yaml#L13Another solution is to customize your executor container spec in the controller configmap: https://github.com/argoproj/argo-workflows/blob/master/docs/workflow-controller-configmap.yaml#L190-L213