Zach Zeid11/17/2021, 4:59 PM
Lucas Rodriguez11/17/2021, 5:00 PM
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:
. 2. Convert to YAML:
fleetctl get config --json > source.json
Let me know if this works for you.
yq eval -P config.json > config.yaml
and then you could get it in YAML format with
fleetctl apply -f config.json
fleetctl get config --yaml
Zach Zeid11/17/2021, 5:42 PM
key in the yaml.