Skip to content

[v15] [gke] skip hard error when client misses permissions for some projects#51401

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

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

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented Jan 23, 2025

Backport of #51344 to branch/v15

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
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 23, 2025
@tigrato tigrato added this pull request to the merge queue Jan 23, 2025
Merged via the queue into branch/v15 with commit 6fb0031 Jan 23, 2025
@tigrato tigrato deleted the tigrato/fix-gke-perm-errors-v15 branch January 23, 2025 16:14
This was referenced 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