If this changes, then we won't be able to parse the config file anymore.
A simple change is to just use the .json extension to name the file.
Another possibility is to extend the forked api and add yaml keys so that we can marshal correctly, but I would not do that until it's also done by the system-agent.
This currently works miraculously due to the yaml parser in use by the system agent: https://github.com/rancher/system-agent/blob/main/pkg/config/config.go#L11C3-L11C19
If this changes, then we won't be able to parse the config file anymore.
A simple change is to just use the .json extension to name the file.
Another possibility is to extend the forked api and add
yaml
keys so that we can marshal correctly, but I would not do that until it's also done by the system-agent.