kcl-lang / kcl-lang.io

KCL Website and Documentation Repo: https://kcl-lang.io
https://kcl-lang.github.io
Apache License 2.0
13 stars 35 forks source link

[FAQ] Do we have best practices for rendering Kubernetes resources, such as rendering the env list in a pod? #320

Open reckless-huang opened 5 months ago

reckless-huang commented 5 months ago

https://www.kcl-lang.io/zh-CN/docs/user_docs/guides/working-with-k8s/generate-k8s-manifests

This example is too simple and does not involve operations with , list, and if for...

Peefy commented 5 months ago

For Kubernetes resource rendering, here are some more examples

If you have more specific scenarios, please let me know and we can further discuss. Thank you very much for your suggestion. Perhaps we will improve the document and add more use cases. ❤️