Have been running (mannually) a rancher instance for a couple of years, and am now looking at doing a new setup, in the best way possible. First thing I'm trying to find out, is how to configure it in a gitops way (we're using FluxCD). Installing rancher itself is pretty simple, with the helm chart. However I can't seem to find info on how to write yaml manifests for specific configurations, e.g starting with adding a cluster. AFAIK, most of not all configurations somehow translate to specifc CRD objects, which makes me wonder to what extent I can make configs by creating those myself?
@damp-painting-69352 thx, this might help
I should have mentioned I don't provision clusters from rancher, but only import existing clusters.
Next to define a(n imported) cluster, I once tried applying the remote manifest to install agents via FluxCD, buit that didn't seem to work - not sure why, been a while.