Fix the kured reboot command

This commit is contained in:
Marco Nenciarini
2022-02-09 11:47:39 +01:00
parent b123845937
commit 573155e5b7
3 changed files with 21 additions and 142 deletions

20
kured/patch.yaml Normal file
View File

@@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: kured
namespace: kube-system
spec:
selector:
matchLabels:
name: kured
template:
metadata:
labels:
name: kured
spec:
serviceAccountName: kured
containers:
- name: kured
command:
- /usr/bin/kured
- --reboot-command=/usr/bin/systemctl reboot