mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Merge pull request #102494 from vinayakankugoyal/kubeadm-constants
Add user and group name constants for kubeadm rootless control-plane.
This commit is contained in:
commit
ff2dfcc6d1
@ -398,6 +398,17 @@ const (
|
|||||||
|
|
||||||
// CgroupDriverSystemd holds the systemd driver type
|
// CgroupDriverSystemd holds the systemd driver type
|
||||||
CgroupDriverSystemd = "systemd"
|
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 (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user