Question:
I am trying to deploy WSO2 API Manager Operator on AWS EKS cluster following the doc [https://github.com/wso2/k8s-wso2am-operator][1]But When I execute the command: kubectl apply -f scenarios/scenario-1/
I get the error: unable to recognize “scenarios\scenario-1\2-custom-pattern.yaml”: no matches for kind “APIManager” in version “apim.wso2.com/v1alpha1”
How do I fix this error?
Answer:
This indicates that the CRDs are not deployed. Did you install the CRDs as explained here? The repo you are referring seems to be for APIM operator to deploy APIM. Rther you should be following API operator to deploy APIs. Following is the correct Github repo for the Operator.Github : https://github.com/wso2/k8s-api-operator
If you have better answer, please add a comment about this, thank you!