Skip to content

[v16] [gke] skip hard error when client misses permissions for some projects#51400

Merged
tigrato merged 1 commit intobranch/v16from
tigrato/fix-gke-perm-errors-v16
Jan 23, 2025
Merged

[v16] [gke] skip hard error when client misses permissions for some projects#51400
tigrato merged 1 commit intobranch/v16from
tigrato/fix-gke-perm-errors-v16

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented Jan 23, 2025

Backport of #51344 to branch/v16

Changelog: Fixed a bug in GKE auto-discovery where the process failed to discover any clusters if the identity lacked permissions for one or more detected GCP project IDs.

#51344)

This PR fixes a behavior problem that results in GKE discovery to
completely fail when the client misses permissions in some of the
discovered projects.

If the client misses list permissions for projectID 1 but has the
required permissions for projectID 2, the discovery service should
continue with the projectID 2 discovery and skip the failing one.

Fixes #48101

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from zmb3 January 23, 2025 11:53
@tigrato tigrato added this pull request to the merge queue Jan 23, 2025
Merged via the queue into branch/v16 with commit 6194bc8 Jan 23, 2025
@tigrato tigrato deleted the tigrato/fix-gke-perm-errors-v16 branch January 23, 2025 12:37
@camscale camscale mentioned this pull request Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants