Closed
Description
1. Minimal reproduce step (Required)
- Deploy argocd with kcl-plugin as described here https://www.kcl-lang.io/blog/2023-07-31-kcl-github-argocd-gitops/
- Create application
argocd app create mindwm \
--repo https://github.com/mindwm/mindwm-gitops \
--path . \
--dest-namespace default \
--dest-server https://kubernetes.default.svc \
--revision 8de06cb9005f1419cbb19c978e121567f04c0c7f \
--config-management-plugin kcl-v1.0
- Sync application
argocd app sync mindwm
2. What did you expect to see? (Required)
Argocd appliaction sync state is "Ok"
3. What did you see instead (Required)
Argocd application sync state is "Fail" with error
error generating manifests: failed to unmarshal manifest: error converting YAML to JSON: yaml: line 2: mapping values are not allowed
4. What is your KCL components version? (Required)
0.8.6-linux-amd64