Anton Gilgur

Results 284 comments of Anton Gilgur

Oh, wait a minute. > ```yaml > #- echo 'test:{{=jsonpath(workflow.parameters.myjson, '$.test')}}' # working > - echo 'test:{{=jsonpath(tasks.dummy0.outputs.result, '$.test')}}' # not working > ``` That might be because `tasks.dummy0.outputs.result` is a...

As far as I can tell, there's also no way of mounting an `emptyDir` (or any volume) onto the Executor `initContainer`. So, in general, more granular config around the different...

`podSpecPatch` may be a workaround for this. Got mentioned [in Slack](https://cloud-native.slack.com/archives/C01QW9QSSSK/p1692013525398399?thread_ts=1692002084.337259&cid=C01QW9QSSSK) recently

`podSpecPatch` does work per https://github.com/argoproj/argo-workflows/issues/10787#issuecomment-2056664894. Not sure about in `workflowDefaults`. But dropping all capabilities is also [the default](https://github.com/argoproj/argo-workflows/blob/b0f0c589e626650ca01a635f773af983e213fbec/workflow/controller/workflowpod.go#L604) for a `resource` template (which is the main one I wrote about...

> It also seems to me that distroless would have a smaller surface area than the AWS image so I feel that is slightly backwards 100% agreed. I said the...

Some more information was provided [on Slack](https://cloud-native.slack.com/archives/C01QW9QSSSK/p1710234895248929?thread_ts=1710234853.947919&cid=C01QW9QSSSK): ``` Containers: main: Container ID: containerd://168102524146065995dfd90b3f78f439b3c2570f2dd544dbbd5533f03ca9de7a Image: 515719629808.dkr.ecr.eu-west-1.amazonaws.com/quay/argoproj/argoexec:v3.5.5 Image ID: 515719629808.dkr.ecr.eu-west-1.amazonaws.com/quay/argoproj/argoexec@sha256:32a568bd1ecb2691a61aa4a646d90b08fe5c4606a2d5cbf264565b1ced98f12b Port: Host Port: Command: /var/run/argo/argoexec emissary --loglevel info --log-format json -- argoexec...

I guess the [`initConfig` function](https://github.com/argoproj/argo-workflows/blob/20ece9cb6c4dfa1a6900a30d58304f32bf8e93b6/cmd/argoexec/commands/root.go#L43) hasn't run everywhere? ~It does seem missing from the [`initExecutor` function](https://github.com/argoproj/argo-workflows/blob/20ece9cb6c4dfa1a6900a30d58304f32bf8e93b6/cmd/argoexec/commands/root.go#L79) where several of the lines are from.~ **EDIT**: It runs [in](https://github.com/argoproj/argo-workflows/blob/5b3909b9567a5c6fc4fef81ac0785cfddbffb291/cmd/argoexec/commands/root.go#L57) `PersistentPreRun`, which [per...

> Hello, my shell alias for logs is `kubectl logs --max-log-requests=6 -f --all-containers`, so it is from all containers. I have added `--prefix=true` and there is result, seems that `init`...

> ``` > Command: > /var/run/argo/argoexec > emissary > --loglevel > info > --log-format > json > -- > argoexec > resource > get > ``` I _think_ this _might_...

Not the prettiest, but I believe you can workaround this using `podSpecPatch`