Return to default kured reboot method
This commit is contained in:
parent
5a3b8afd28
commit
1cddf12886
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,4 +6,3 @@ kubeconfig.yaml-e
|
||||
terraform.tfvars
|
||||
plans.yaml
|
||||
traefik_config.yaml
|
||||
kured.yaml
|
||||
|
@ -18,4 +18,3 @@ spec:
|
||||
command:
|
||||
- /usr/bin/kured
|
||||
- --reboot-command=/usr/bin/systemctl reboot
|
||||
- --reboot-sentinel=/var/run/reboot-needed
|
||||
|
@ -18,6 +18,12 @@ write_files:
|
||||
AuthorizedKeysFile .ssh/authorized_keys
|
||||
path: /etc/ssh/sshd_config.d/kube-hetzner.conf
|
||||
|
||||
# Setting the right reboot mode
|
||||
- content: |
|
||||
REBOOT_METHOD=kured
|
||||
path: /etc/transactional-update.conf
|
||||
append: true
|
||||
|
||||
# Add ssh authorized keys
|
||||
ssh_authorized_keys:
|
||||
%{ for key in sshAuthorizedKeys ~}
|
||||
|
Loading…
Reference in New Issue
Block a user