I'm trying to activate kustomize for argoCD. But here's the error I get.
The Kubernetes API could not find kustomize.config.k8s.io/Kustomization for requested resource argo/. Make sure the "Kustomization" CRD is installed on the destination cluster.
Can anyone help me please.
I used this documentation to configure my argoCD config. https://dev.to/camptocamp-ops/use-kustomize-to-post-render-helm-charts-in-argocd-2ml6
If you decompose the error log:
Means that your command tries to find a
kustomize.config.k8s.io/KustomizationCRD in the cluster but it's not there. A CRD (Custom Resource Definition) is a custom definition, whereServiceorConfigMapare preexisting definitions.Check more doc on this here: https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/
Means that you should try to find a way to install the
kustomize.config.k8s.io/Kustomizationin your cluster. Checking with chatGPT with "How to install CRD kustomize.config.k8s.io/Kustomization in a cluster ?" seems to give a pretty good answer.