r/kubelet: Pass --config arg to service

The systemd unit configuration installed by Fedora's _kubeadm_ package
does not pass the `--config` argument to the kubelet service.  Without
this argument, the kubelet will not read the configuration file
generated by `kubeadm` from the `kubelet-config` ConfigMap.  Thus,
various features will not work correctly, including server TLS
bootstrap.
This commit is contained in:
2024-12-07 09:35:57 -06:00
parent d2e8b9237f
commit 15cb675297
3 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
[Service]
Environment=KUBELET_EXTRA_ARGS='--config=/var/lib/kubelet/config.yaml'