feat: make rke2 registries.yaml conditional on manage_registries (#472)

Add/Remove the registries.yaml file based on the manage_registries
boolean. We are leaving it on default=false now as the artifactapi
server was broken.

---------

Co-authored-by: Ben Vincent <ben@unkin.net>
Reviewed-on: #472
This commit was merged in pull request #472.
This commit is contained in:
2026-06-27 07:50:31 +10:00
parent e140b300bb
commit 97d21c81c5
3 changed files with 19 additions and 8 deletions
+1
View File
@@ -12,4 +12,5 @@ class rke2::params (
Hash $helm_repos = {},
Array[String[1]] $extra_config_files = [],
Stdlib::HTTPUrl $container_archive_source = 'https://github.com/rancher/rke2/releases/download',
Boolean $manage_registries = false,
) {}