Skip to content

Commit

Permalink
removed personal references
Browse files Browse the repository at this point in the history
  • Loading branch information
enrichman committed Apr 22, 2024
1 parent c7030bc commit f50f954
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion cmd/kubectl_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,6 @@ func getTLSConfig(skipVerify bool, caCerts string) (*tls.Config, error) {
return nil, err
}

// enrichman: should we load the system CertPool instead of creating a new one?
roots := x509.NewCertPool()
ok := roots.AppendCertsFromPEM([]byte(cert))
if !ok {
Expand Down
4 changes: 2 additions & 2 deletions cmd/kubectl_token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func Test_getAuthProviders(t *testing.T) {
AuthProvider: apiv3.AuthProvider{
Type: "azureADProvider",
},
RedirectURL: "https://login.microsoftonline.com/258928db-3ed6-49fb-9a7e-52e492ffb066/oauth2/v2.0/authorize?client_id=56168f69-a732-48e2-aa21-8aa0909d0976&redirect_uri=https://rancher-local.enrichman.it/verify-auth-azure&response_type=code&scope=openid",
RedirectURL: "https://login.microsoftonline.com/258928db-3ed6-49fb-9a7e-52e492ffb066/oauth2/v2.0/authorize?client_id=56168f69-a732-48e2-aa21-8aa0909d0976&redirect_uri=https://rancher.mydomain.com/verify-auth-azure&response_type=code&scope=openid",
TenantID: "258928db-3ed6-49fb-9a7e-52e492ffb066",
OAuthProvider: apiv3.OAuthProvider{
ClientID: "56168f69-a732-48e2-aa21-8aa0909d0976",
Expand Down Expand Up @@ -88,7 +88,7 @@ var responseOK = `{
"links": {
"self": "…/v3-public/azureADProviders/azuread"
},
"redirectUrl": "https://login.microsoftonline.com/258928db-3ed6-49fb-9a7e-52e492ffb066/oauth2/v2.0/authorize?client_id=56168f69-a732-48e2-aa21-8aa0909d0976&redirect_uri=https://rancher-local.enrichman.it/verify-auth-azure&response_type=code&scope=openid",
"redirectUrl": "https://login.microsoftonline.com/258928db-3ed6-49fb-9a7e-52e492ffb066/oauth2/v2.0/authorize?client_id=56168f69-a732-48e2-aa21-8aa0909d0976&redirect_uri=https://rancher.mydomain.com/verify-auth-azure&response_type=code&scope=openid",
"scopes": [
"openid",
"profile",
Expand Down

0 comments on commit f50f954

Please sign in to comment.