[v18] Add status field to Kubernetes clusters to support discovery workflows#62598
Merged
tigrato merged 2 commits intobranch/v18from Jan 7, 2026
Merged
[v18] Add status field to Kubernetes clusters to support discovery workflows#62598tigrato merged 2 commits intobranch/v18from
tigrato merged 2 commits intobranch/v18from
Conversation
#62161) * Add status field to Kubernetes clusters to support discovery workflows Adds a new Status field to KubernetesClusterV3 containing discovery-related information. The status includes cloud provider-specific data, starting with AWS which tracks the ARN for access setup, integration name, and the assumed role used during discovery. This enables the discovery service to persist state about clusters it discovers, which is needed to properly cleanup created access entries when a cluster is removed or no longer matches the label filtering. Without this information, dangling AWS resources would be left behind after discovery changes. Signed-off-by: Tiago Silva <tiago.silva@goteleport.com> * handle code review comments * handle code review comments * add comment --------- Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
marcoandredinis
approved these changes
Jan 5, 2026
boxofrad
approved these changes
Jan 7, 2026
espadolini
approved these changes
Jan 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #62161 to branch/v18
Changelog: Added cleanup of access entries for EKS auto-discovered clusters when they no longer match the filtering criteria and are removed.