<p>I am trying to deploy WSO2 API Manager Operator on AWS EKS cluster following the doc [https://github.com/wso2/k8s-wso2am-operator][1]</p>
<p>But When I execute the command: <strong>kubectl apply -f scenarios/scenario-1/</strong></p>
<p>I get the error: <strong>unable to recognize &quot;scenarios\scenario-1\2-custom-pattern.yaml&quot;: no matches for kind &quot;APIManager&quot; in version &quot;apim.wso2.com/v1alpha1&quot;</strong></p>
<p>How do I fix this error?</p>

Ruby
<p>wso2am-operator is not tested in newer kubernetes versions (1.20+). Some of the kubernetes APIs used were deprecated even in previous versions and removed in v1.22[1]. Those include <code>rbac.authorization.k8s.io/v1beta1</code> and <code>apiextensions.k8s.io/v1beta1</code>. The error you are seeing is because the custom resource for <code>APIManager</code> is not deployed properly.</p>
<p>The Operator should work if you try this on an older kubernetes version. However, it only supports APIM 3.2.0 (latest is APIM 4.1.0).</p>
<p>[1] - <a href="https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-22" rel="nofollow noreferrer">https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-22</a></p>
