wso2 / k8s-api-operator

API Operator for Kubernetes
Apache License 2.0
115 stars 48 forks source link

Incompatibility with WSO2 AM 4.1.0 for API creation #621

Open MioOgbeni opened 1 year ago

MioOgbeni commented 1 year ago

Description: Im using WSO2 APIM 4.1.0 deployed in K8S cluster and I want to use k8s-api-operator for creation of WSO2 APIs from K8S CRDs. When I configured all needed credentials and endpoint and want to let k8s-api-operator to create API in WSO2 APIM . Then I found out that k8s-api-operator using hard-coded publisher endpoint [here] API v2 for listing APIs but in WSO2 APIM 4.1.0 is only avilable publisher API v3.

Affected Product Version: 2.0.3

OS, DB, other environment details and versions:
WSO2 APIM 4.1.0 installed from single instance helm chart here WSO2 k8s-api-operator 2.0.3 installed form manifest here Deployed to K8S 1.25.5

Steps to reproduce:

Can be also reproduced from Postman

For now I will downgrade my WSO2 APIM to version 4.0.0 as quick fix.