I am trying to install Flux Operator using Helm install from the docs here
helm install flux-operator oci://ghcr.io/controlplaneio-fluxcd/charts/flux-operator \ --namespace flux-system
Note: I have pulled the helm chart into my own internal registry and then ran the helm install command
However I am getting the error:
ERROR: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "flux" namespace: "flux-system" from "": no matches for kind "FluxInstance" in version "fluxcd.controlplane.io/v1" ensure CRDs are installed first
What CRDs do I need to install? I thought this was the FluxInstance crd to install
apiVersion: fluxcd.controlplane.io/v1
kind: FluxInstance
metadata:
name: flux
namespace: flux-system
spec:
distribution:
version: "2.5.x"
registry: <internal_registry>
cluster:
type: kubernetes
However, I get the same error:
resource mapping not found for name: "flux" namespace: "flux-system" from "": no matches for kind "FluxInstance" in version "fluxcd.controlplane.io/v1" ensure CRDs are installed first