mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-01 21:52:02 +08:00
GitLab Delegated Joining (#22705)
* Add type for GitLab ProvisionToken * Add default behaviour for domain * Add IDTokenClaims for GitLab * Add gitlab token source and token validator * Thread GitLab support through auth and tbot packages * Adjust cluster name fetching in token validator * Initialize GitLab token validator in auth * Improve comment on `sub` * Working GitLab CI delegated joining * Add additional token rule fields * Add checking for new configuration fields * add additional test cases for validation of gitlab config struct * Add TestAuth_RegisterUsingToken_GitLab * Add tests for IDTokenSource * Fix imports * Add tests for GitLab Token Validator * Fix some comments that were incomplete * Add license headers
This commit is contained in:
@@ -51,7 +51,6 @@ import (
|
||||
"github.com/gravitational/teleport/lib/modules"
|
||||
"github.com/gravitational/teleport/lib/service/servicecfg"
|
||||
"github.com/gravitational/teleport/lib/utils"
|
||||
//+kubebuilder:scaffold:imports
|
||||
)
|
||||
|
||||
func fastEventually(t *testing.T, condition func() bool) {
|
||||
|
||||
@@ -41,7 +41,6 @@ import (
|
||||
resourcesv5 "github.com/gravitational/teleport/integrations/operator/apis/resources/v5"
|
||||
"github.com/gravitational/teleport/integrations/operator/controllers/resources"
|
||||
sidecar2 "github.com/gravitational/teleport/integrations/operator/sidecar"
|
||||
//+kubebuilder:scaffold:imports
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user