- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 970 for userNames (0.25 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/borrowing_test.go
// Launch 20 client threads for each flow for flow := 0; flow < 2; flow++ { username := usernames[flow] flowUser := testUser{name: username} rd := RequestDigest{ RequestInfo: reqInfo, User: flowUser, } concIntegrator := fq.NewNamedIntegrator(clk, username) concIntegrators[flow] = concIntegrator exec := func() { concIntegrator.Inc()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 9K bytes - Viewed (0) -
cmd/kubeadm/app/util/users/users_linux_test.go
{name: "kubeadm-kas", id: 101, gid: 103, shell: noshell}, }, groups: []*entry{ {name: "kubeadm-etcd", id: 102, userNames: []string{"kubeadm-etcd"}}, {name: "kubeadm-kas", id: 103, userNames: []string{"kubeadm-kas"}}, {name: "kubeadm-sa-key-readers", id: 104, userNames: []string{"kubeadm-kas", "kubeadm-kcm"}}, }, expectedUsers: []*entry{ {name: "kubeadm-kcm"}, {name: "kubeadm-ks"}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 01 05:59:41 UTC 2022 - 16.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics.go
} // compressUsername maps all possible usernames onto a small set of categories // of usernames. This is done both to limit the cardinality of the // authorized_user_requests metric, and to avoid pushing actual usernames in the // metric. func compressUsername(username string) string { switch { // Known internal identities. case username == "admin" || username == "client" || username == "kube_proxy" ||
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 20 13:35:55 UTC 2023 - 5.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/users/users_linux.go
} groupsToCreateSpec = []*entry{ {name: constants.EtcdUserName, userNames: []string{constants.EtcdUserName}}, {name: constants.KubeAPIServerUserName, userNames: []string{constants.KubeAPIServerUserName}}, {name: constants.KubeControllerManagerUserName, userNames: []string{constants.KubeControllerManagerUserName}}, {name: constants.KubeSchedulerUserName, userNames: []string{constants.KubeSchedulerUserName}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 25 16:35:10 UTC 2023 - 20.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/authentication.go
"before trusting usernames in headers specified by --requestheader-username-headers. "+ "WARNING: generally do not depend on authorization being already done for incoming requests.") fs.StringSliceVar(&s.AllowedNames, "requestheader-allowed-names", s.AllowedNames, ""+ "List of client certificate common names to allow to provide usernames in headers "+
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 21 14:51:22 UTC 2023 - 19.9K bytes - Viewed (0) -
pkg/auth/nodeidentifier/default.go
if u == nil { return "", false } userName := u.GetName() if !strings.HasPrefix(userName, nodeUserNamePrefix) { return "", false } isNode := false for _, g := range u.GetGroups() { if g == user.NodesGroup { isNode = true break } } if !isNode { return "", false } nodeName := strings.TrimPrefix(userName, nodeUserNamePrefix) return nodeName, true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 15 09:32:31 UTC 2017 - 1.9K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/security_context_windows.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 18 22:23:13 UTC 2022 - 3.4K bytes - Viewed (0) -
src/os/user/user_test.go
t.Errorf("didn't get a HomeDir") } if u.Username == "" { t.Errorf("didn't get a username") } } func BenchmarkCurrent(b *testing.B) { for i := 0; i < b.N; i++ { Current() } } func compare(t *testing.T, want, got *User) { if want.Uid != got.Uid { t.Errorf("got Uid=%q; want %q", got.Uid, want.Uid) } if want.Username != got.Username { t.Errorf("got Username=%q; want %q", got.Username, want.Username) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 15:59:43 UTC 2023 - 4K bytes - Viewed (0) -
cluster/gce/windows/testonly/install-ssh.psm1
# this only splits on the first colon. $username, $key = $line -Split ":",2 # Detect and skip keys without associated usernames, which may come back # from the legacy sshKeys metadata. if (($username -like "ssh-*") -or ($username -like "ecdsa-*")) { Write-Error "Skipping key without username: $username" continue } if (-not $users_to_keys.ContainsKey($username)) { $users_to_keys[$username] = @($key)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 09 05:09:18 UTC 2021 - 11.6K bytes - Viewed (0) -
pkg/kubeapiserver/options/authentication.go
"the authentication documentation for further details.") fs.StringVar(&o.OIDC.UsernamePrefix, oidcUsernamePrefixFlag, "", ""+ "If provided, all usernames will be prefixed with this value. If not provided, "+ "username claims other than 'email' are prefixed by the issuer URL to avoid "+ "clashes. To skip any prefixing, provide the value '-'.")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 22:40:22 UTC 2024 - 32.4K bytes - Viewed (0)