You should pass the kubeconfig path /etc/rancher/k3s/k3s.yamlWould you be able to share the steps you went through to get flux setup on your scale. I've been trying today but I always end up failing at installing components in "flux-system" namespace. I'm assuming i'm missing step in the config somewhere to enable direct manipulation of kubernetes objects.
For example:
Code:
flux bootstrap github \ --token-auth \ --owner=my-github-username \ --repository=my-repository-name \ --branch=main \ --path=clusters/my-cluster \ --personal \ --kubeconfig=/etc/rancher/k3s/k3s.yaml