aws-custom-route-controller events are wrongly categorized as ERR_RETRYABLE_INFRA_DEPENDENCIES
instead of ERR_INFRA_UNAUTHENTICATED
#1137
Labels
area/ops-productivity
Operator productivity related (how to improve operations)
kind/bug
Bug
platform/aws
Amazon web services platform/infrastructure
How to categorize this issue?
/area ops-productivity
/kind bug
/platform aws
What happened:
Shoot credentials got invalid. Then the ControlPlane got unhealthy with:
IMO, the
ERR_RETRYABLE_INFRA_DEPENDENCIES
is wrong. It should beERR_INFRA_UNAUTHENTICATED
.In
gardener-extension-provider-aws/pkg/apis/aws/helper/error_codes.go
Line 14 in 95bfe29
AuthFailure
is already marked asERR_INFRA_UNAUTHENTICATED
.The custom handling for the events:
gardener-extension-provider-aws/pkg/controller/healthcheck/customroutecontrollerhealth.go
Lines 62 to 67 in 95bfe29
What you expected to happen:
AuthFailure
error to be flagged withERR_INFRA_UNAUTHENTICATED
, not withERR_RETRYABLE_INFRA_DEPENDENCIES
.How to reproduce it (as minimally and precisely as possible):
See above.
Anything else we need to know?:
N/A
Environment:
kubectl version
):The text was updated successfully, but these errors were encountered: