Browse Source

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.
pull/8909/head
Max Gautier 2 years ago
committed by GitHub
parent
commit
5512465b34
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions
  1. 1
      roles/kubernetes/node/templates/kubelet.service.j2

1
roles/kubernetes/node/templates/kubelet.service.j2

@ -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…
Cancel
Save