Zach Zeid
11/17/2021, 4:59 PMfleetctl
?Lucas Rodriguez
11/17/2021, 5:00 PMfleetctl
does not have any conversion tool.
PS: I've just verified and you could use a tool like `yq`:
https://mikefarah.gitbook.io/yq/v/v4.x/usage/convert
1. Get config as JSON, with my version of fleetctl (v4.5.0) it's: fleetctl get config --json > source.json
.
2. Convert to YAML: yq eval -P config.json > config.yaml
Let me know if this works for you.fleetctl apply -f config.json
and then you could get it in YAML format with fleetctl get config --yaml
.Zach Zeid
11/17/2021, 5:42 PMzwass
config
key in the yaml.