mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Add user and group name constants for kubeadm rootless control-plane.
This commit is contained in:
parent
037e7f8f37
commit
39d45fccef
@ -398,6 +398,17 @@ const (
|
||||
|
||||
// CgroupDriverSystemd holds the systemd driver type
|
||||
CgroupDriverSystemd = "systemd"
|
||||
|
||||
// The username of the user that kube-controller-manager runs as.
|
||||
KubeControllerManagerUserName string = "kubeadm-kcm"
|
||||
// The username of the user that kube-apiserver runs as.
|
||||
KubeAPIServerUserName string = "kubeadm-kas"
|
||||
// The username of the user that kube-scheduler runs as.
|
||||
KubeSchedulerUserName string = "kubeadm-ks"
|
||||
// The username of the user that etcd runs as.
|
||||
EtcdUserName string = "kubeadm-etcd"
|
||||
// The group of users that are allowed to read the service account private key.
|
||||
ServiceAccountKeyReadersGroupName string = "kubeadm-sa-key-readers"
|
||||
)
|
||||
|
||||
var (
|
||||
|
Loading…
Reference in New Issue
Block a user