argo-python-dsl icon indicating copy to clipboard operation
argo-python-dsl copied to clipboard

how to set pod-metadata

Open jbehling opened this issue 5 years ago • 2 comments

Description I'm struggling to find a way to set the metadata for a closure as in this example: https://github.com/argoproj/argo/blob/master/examples/pod-metadata.yaml. It appears that metadata isn't a valid field for any of the union types that closure supports. Is there something that I'm missing?

Additional context

jbehling avatar May 09 '20 17:05 jbehling

@jbehling does this help? https://github.com/argoproj-labs/argo-python-dsl/blob/master/tests/workflows/loops.py

binarycrayon avatar Oct 11 '20 20:10 binarycrayon

no the issue I'm having is that there's no way to set the metadata attribute of the template object, at the time i opened the issue it appeared that this was due to some issue in the openapi spec

jbehling avatar Oct 15 '20 15:10 jbehling