You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks! In the documentation, it said it accepts YAML object as templatePatch so I thought it would be trivial to use YAML object. I'll stick to JSON format for now
Checklist:
argocd version
.Describe the bug
Related to #14893
templatePatch
doesn't reconstruct YAML config properly. Apparently it converts to JSON object first and then converts back to YAML.To Reproduce
I have argocd config YAML files for different environments to allow ApplicationSet generate applications. This is a sample of the config.yaml
Here is my applicationSet definition:
Expected behavior
I expect the
templatePatch
being able to generate nested YAML objects. In the above example, an application manifest should be as the following:However, in reality,
syncPolicy
was ignored and empty. However, if I change thetemplatePatch
to this format, it works:Version
The text was updated successfully, but these errors were encountered: