Skip to content

[v14] Prevent double registration of Kubernetes GVK for older Kube clusters#33402

Merged
tigrato merged 2 commits intobranch/v14from
bot/backport-33253-branch/v14
Oct 13, 2023
Merged

[v14] Prevent double registration of Kubernetes GVK for older Kube clusters#33402
tigrato merged 2 commits intobranch/v14from
bot/backport-33253-branch/v14

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented Oct 12, 2023

Backport #33253 to branch/v14

Older Kubernetes clusters might have types that live outside of default
Kubernetes types but are registered using different APIs. When Teleport
starts, it tries to pull the resources from the cluster and panics
because a certain type is already registered.

This PR adds a check that prevents double registration.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@tigrato tigrato added this pull request to the merge queue Oct 13, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 13, 2023
@tigrato tigrato added this pull request to the merge queue Oct 13, 2023
Merged via the queue into branch/v14 with commit addd901 Oct 13, 2023
@tigrato tigrato deleted the bot/backport-33253-branch/v14 branch October 13, 2023 16:58
@camscale camscale mentioned this pull request Oct 16, 2023
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.

4 participants