-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
PodSpecPatch cannot patch metadata #2585
Comments
@sarabala1979 this seems to be in your area of expertise |
PodSpecPatch will only support to patch all elements under the |
Thanks! It makes sense now that you say it, but that wasn’t entirely clear. Is this documented somewhere? |
@simster7 is working on documentation |
Sorry to keep beating this, but I cannot figure out how to do what I need. I asked in Slack and got no response. Basically, I would like to templatize pod annotations on every pod in the workflow. I have tried to add an annotation to every workflow template, but the templating doesn't seem to work. slack question. The podSpecPatch doesn't work (as discussed previously). Is there any way to do what I'm trying to do, or do I need to find another strategy? |
waiting for the solution... |
Checklist:
What happened:
Using podSpecPatch, I attempted to add metadata to the argo pods of a workflow. The metadata was not patched, but other patches worked fine.
What you expected to happen:
I expected to be able to add labels and/or annotations to the pods.
How to reproduce it (as minimally and precisely as possible):
This is a slightly modified version of the podSpecPatch example:
Anything else we need to know?:
Here is the resulting pod yaml.
Environment:
Workflow controller is also at v2.7.0
Other debugging information (if applicable):
Message from the maintainers:
If you are impacted by this bug please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: