Revert "Set exact user for Kubelet services" (#8872)
This reverts commit e375678674
.
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
1 changed files with 0 additions and 1 deletions
|
@ -9,7 +9,6 @@ Wants={{ container_manager }}.service
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=root
|
|
||||||
EnvironmentFile=-{{ kube_config_dir }}/kubelet.env
|
EnvironmentFile=-{{ kube_config_dir }}/kubelet.env
|
||||||
ExecStart={{ bin_dir }}/kubelet \
|
ExecStart={{ bin_dir }}/kubelet \
|
||||||
$KUBE_LOGTOSTDERR \
|
$KUBE_LOGTOSTDERR \
|
||||||
|
|
Loading…
Reference in a new issue