[Gotemplate] Is it possible to add conditional template in applicationset? #16648
shamonshan
started this conversation in
General
Replies: 1 comment 10 replies
-
|
It is possible, but the exact way to accomplish it depends on the use case. You can use Sprig's default functions within a single field. You can use go text template's conditional blocks as in your example above, as long as those conditions reside within a single field. Or if you need to do more complex transformations, you can use the |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to have conditonal rendering of templates in application set ??
something like this
For me the above will return unmarshell errors
Beta Was this translation helpful? Give feedback.
All reactions