Sharing properties between templates #5809
-
Hi, In my workflows, but I suspect this is something that happens very often, I often repeat the same properties between multiple templates Here is a relevant subset. As you can see, I must put the same labels on every template as well as same way to set the environment from a secret+workflow arguments and as well as same volumes (we use the volume with azurefile to share intermediate data instead of artifacts) Is there some way to declare them only once ? The main benefit we are looking for is readability
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
An example of what I am looking for:
|
Beta Was this translation helpful? Give feedback.
-
You can do this via templateDefaults.metadata at the workflow spec. |
Beta Was this translation helpful? Give feedback.
You can do this via templateDefaults.metadata at the workflow spec.