kapicorp / kapitan

Generic templated configuration management for Kubernetes, Terraform and other things
https://kapitan.dev
Apache License 2.0
1.83k stars 199 forks source link

kapitan not sorting json output for kadet #742

Open ademariag opened 3 years ago

ademariag commented 3 years ago

Describe the bug/feature When using kadet with the json output, the resulting file is not sorted. This is inconsistent with the yaml output version.

For instance the following:

obj.root.b = 1
obj.root.a = 2

outputs

{
"b": 1,
"a": 2
}

expecter

{
"a": 2,
"b": 1
}

Additional context https://kubernetes.slack.com/archives/C981W2HD3/p1624026461117700

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 1 year with no activity. Remove the stale label or comment if this issue is still relevant for you. If not, please close it yourself.