Kong / kubernetes-ingress-controller

:gorilla: Kong for Kubernetes: The official Ingress Controller for Kubernetes.
https://docs.konghq.com/kubernetes-ingress-controller/
Apache License 2.0
2.16k stars 591 forks source link

Konnect control planes roles cleanup doesn't work #6253

Open czeslavo opened 4 days ago

czeslavo commented 4 days ago

Is there an existing issue for this?

Does this enhancement require public documentation?

Problem Statement

After updating a Konnect service account access token used in CI, the code responsible for listing and deleting control planes' roles stopped working. /me endpoint doesn't work with service accounts apparently, and there's no longer possibility to generate a PAT for the whole account.

Proposed Solution

Workaround finding out what roles/control planes we need to cleanup somehow, possibly by hardcoding a user ID and list all CPs and roles belonging to it.

Additional information

No response

Acceptance Criteria