feat: restart rke2 when registries.yaml is deployed (#465)

- ensure we restart rke2 to pickup registries.yaml changes
- add a comment to registries.yaml to force a restart

Reviewed-on: #465
This commit was merged in pull request #465.
This commit is contained in:
2026-05-06 23:11:20 +10:00
parent 7e45e0d2e5
commit ceacfc85ae
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
---
# DO NOT MODIFY - MANAGED BY PUPPET
mirrors:
docker.io:
endpoint:
+1 -1
View File
@@ -35,7 +35,7 @@ class rke2::config (
mode => '0644',
source => 'puppet:///modules/rke2/registries.yaml',
require => Package["rke2-${node_type}"],
before => Service["rke2-${node_type}"],
notify => Service["rke2-${node_type}"],
}
# create the config file