Skip to content
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

Persistent YAML to JSON Conversion Error with KCL Plugin #18211

Open
oliver-hofmann-cistec-com opened this issue May 14, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@oliver-hofmann-cistec-com

Describe the bug
When attempting to generate manifests using the KCL plugin, I encounter the following error: "failed to unmarshal manifest: error converting YAML to JSON: yaml: line 2: mapping values are not allowed in this context." This error persists until I perform a hard refresh, despite making no changes to the codebase.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy an application using ArgoCD with the KCL plugin.
  2. Observe the error in the ArgoCD UI or through CLI output.
  3. Note that the error appears consistently until a hard refresh is performed.

Expected behavior
Manifest generation should occur without errors, without the need for hard refreshes to correct YAML to JSON conversion issues.

Version

  • ArgoCD Version: 6.9.1

Logs
generating manifests: failed to unmarshal manifest: error converting YAML to JSON: yaml: line 2: mapping values are not allowed in this context

Additional context
The issue occurs consistently under the current setup, using the KCL plugin, and without any recent changes to the YAML files or configurations that might explain this behavior.

@oliver-hofmann-cistec-com oliver-hofmann-cistec-com added the bug Something isn't working label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant