Merge "Update kubelet system overrides on unlock"

This commit is contained in:
Zuul 2023-10-12 21:42:28 +00:00 committed by Gerrit Code Review
commit 57bd4e0e95

@ -114,6 +114,15 @@ class platform::kubernetes::configuration {
mode => '0644',
}
# Add kubelet service override
file { '/etc/systemd/system/kubelet.service.d/kube-stx-override.conf':
ensure => file,
content => template('platform/kube-stx-override.conf.erb'),
owner => 'root',
group => 'root',
mode => '0644',
}
if ($::personality == 'controller') {
# Cron job to cleanup stale CNI cache files that are more than
# 1 day old and are not associated with any currently running pod.