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
|
terraform.tfvars
|
||||||
plans.yaml
|
plans.yaml
|
||||||
traefik_config.yaml
|
traefik_config.yaml
|
||||||
kured.yaml
|
|
||||||
|
@ -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
|
|
||||||
|
@ -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 ~}
|
||||||
|
Loading…
Reference in New Issue
Block a user