Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose workflow annotations and labels to pods #1279

Closed
discordianfish opened this issue Mar 25, 2019 · 0 comments · Fixed by #1280
Closed

Expose workflow annotations and labels to pods #1279

discordianfish opened this issue Mar 25, 2019 · 0 comments · Fixed by #1280

Comments

@discordianfish
Copy link
Contributor

FEATURE REQUEST

Argo should support exposing the workflow annotations and labels to pods.

Rational

All Kubernetes objects have metadata, that makes it a good place to pass in data in a object agnostic way.

Specifically I'm working on a webhook handler that can apply/create arbitrary objects. I want to use that for submitting workflows. To make passing in arguments agnostic to the type of resource I apply, I want to use the metadata field.

Implementation

I believe the best option is to expose these as new global templating variable workflow.metadata.annotations and workflow.metadata.annotations.

icecoffee531 pushed a commit to icecoffee531/argo-workflows that referenced this issue Jan 5, 2022
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant