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:
Max Gautier 2022-06-01 09:19:02 +02:00 committed by GitHub
parent 2f30ab558a
commit 5512465b34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,6 @@ Wants={{ container_manager }}.service
{% endif %}
[Service]
User=root
EnvironmentFile=-{{ kube_config_dir }}/kubelet.env
ExecStart={{ bin_dir }}/kubelet \
$KUBE_LOGTOSTDERR \