kyma-project / api-gateway

Apache License 2.0
4 stars 26 forks source link

API Gateway can't list ORY Oathkeeper rules #883

Closed strekm closed 6 months ago

strekm commented 8 months ago

Description

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

  1. delete ORY oathkeeper CRDs manually and trigger module deletion
Ressetkk commented 7 months ago

/assign