Disabling and enabling api-gateway module via Kyma CR leads to api-gateway throwing following error:
ERROR Reconciler error {"controller": "apigateway", "controllerGroup": "operator.kyma-project.io", "controllerKind": "APIGateway", "APIGateway": {"name":"default"}, "namespace": "", "name": "default", "reconcileID": "11238573-fb93-493f-8bab-74ac6beae515", "error": "failed to get API group resources: unable to retrieve the complete list of server APIs: oathkeeper.ory.sh/v1alpha1: the server could not find the requested resource"}
API Gateway CR is in error state and has deletion timestamp.
Expected result
API Gateway module should be able to handle this kind of situation and finish deletion
Actual result
API Gateway stuck in deletion loop
Steps to reproduce
delete ORY oathkeeper CRDs manually and trigger module deletion
Description
Disabling and enabling api-gateway module via Kyma CR leads to api-gateway throwing following error:
API Gateway CR is in error state and has deletion timestamp.
Expected result
API Gateway module should be able to handle this kind of situation and finish deletion
Actual result
API Gateway stuck in deletion loop
Steps to reproduce