Closed nestoralonso closed 1 month ago
Please answer these questions before submitting your issue. Thanks!
You need an argocd with kcl plugin as shown in the official docs
Take the example app https://github.com/kcl-lang/flask-demo-kcl-manifests and add the k8s module
kcl outputs pure yaml recognized by argocd and kubernetes
cannot convert yaml to json because the script in kcl-cmp.yaml prints to stdout:
downloading 'kcl-lang/k8s:1.29' from 'ghcr.io/kcl-lang/k8s:1.29'
making the output not valid yaml
kcl version 0.8.9
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
You need an argocd with kcl plugin as shown in the official docs
Take the example app https://github.com/kcl-lang/flask-demo-kcl-manifests and add the k8s module
2. What did you expect to see? (Required)
kcl outputs pure yaml recognized by argocd and kubernetes
3. What did you see instead (Required)
cannot convert yaml to json because the script in kcl-cmp.yaml prints to stdout:
downloading 'kcl-lang/k8s:1.29' from 'ghcr.io/kcl-lang/k8s:1.29'
making the output not valid yaml
4. What is your KCL components version? (Required)
kcl version 0.8.9