Skip to content
Snippets Groups Projects
Unverified Commit 5512465b authored by Max Gautier's avatar Max Gautier Committed by GitHub
Browse files

Revert "Set exact user for Kubelet services" (#8872)

This reverts commit e3756786.

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.
parent 2f30ab55
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,6 @@ Wants={{ container_manager }}.service ...@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment