-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enforce Kubernetes license when creating Kube resources
This PR prevents the registration of Kubernetes clusters in Teleport Auth server when the auth isn't licensed for Kubernetes access. This is required because with the new credentials forwarding mechanism, services won't call Auth server `ProcessKubeCSR` endpoint and thus we cannot enforce the license. This change prevents any agent to register its `KubeServers` in Auth server if the server isn't properly licensed to Kube. It only affects enterprise users because the open source version of Auth is licensed for Kubernetes access. Part of #22533
- Loading branch information
Showing
3 changed files
with
39 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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