fleet
fleet copied to clipboard
add fleetctl convert --gitops functionality
Problem
As a Fleet admin, it is not clear why I need a different format of .yml for use with gitops. I have already configured my fleet server and don't want to start from scratch with gitops, but I want to use what I have already defined in Fleet to build out my gitops strategy. This means that I need to "get" all config from Fleet with a fleetctl get command and the convert config files to a format that gitops uses.
Potential solutions
have some kind of fleetctl convert --gitops option that converts regular fleet .yml documents into gitops friendly documents.
Thanks @dherder!
We could probably use this tool to accomplish "Add CIS policies using best practice GitOps": #17913
We'll weigh this request at the next feature fest on 2024-06-20.
Convert command blooms, GitOps ease in cloud city, Duplication pruned.