Return to default kured reboot method

This commit is contained in:
Marco Nenciarini 2022-03-04 13:53:45 +01:00
parent 5a3b8afd28
commit 1cddf12886
No known key found for this signature in database
GPG Key ID: 589F03F01BA55038
3 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@ -6,4 +6,3 @@ kubeconfig.yaml-e
terraform.tfvars terraform.tfvars
plans.yaml plans.yaml
traefik_config.yaml traefik_config.yaml
kured.yaml

View File

@ -18,4 +18,3 @@ spec:
command: command:
- /usr/bin/kured - /usr/bin/kured
- --reboot-command=/usr/bin/systemctl reboot - --reboot-command=/usr/bin/systemctl reboot
- --reboot-sentinel=/var/run/reboot-needed

View File

@ -18,6 +18,12 @@ write_files:
AuthorizedKeysFile .ssh/authorized_keys AuthorizedKeysFile .ssh/authorized_keys
path: /etc/ssh/sshd_config.d/kube-hetzner.conf 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 # Add ssh authorized keys
ssh_authorized_keys: ssh_authorized_keys:
%{ for key in sshAuthorizedKeys ~} %{ for key in sshAuthorizedKeys ~}