mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-11 01:57:37 -03:30
Revert "Set exact user for Kubelet services" (#8872)
This reverts commit e375678674793722eda2beb01c2988e5e54ad7d0. The workaround of explicitly specifying root for the kubelet unit was for pulling images from private registry. Kubernetes now have a dedicated mechanism with imagePullSecret.
This commit is contained in:
parent
2f30ab558a
commit
5512465b34
@ -9,7 +9,6 @@ Wants={{ container_manager }}.service
|
||||
{% endif %}
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
EnvironmentFile=-{{ kube_config_dir }}/kubelet.env
|
||||
ExecStart={{ bin_dir }}/kubelet \
|
||||
$KUBE_LOGTOSTDERR \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user