aeae26711f
## Summary - Replace static `registries.yaml` with EPP template driven by `rke2::registries` hash - Add `disable-default-registry-endpoint: true` to all mirrors — RKE2 will only use artifactapi and never fall back to upstream registries - Registry configuration now fully managed via hiera data (`roles/infra/k8s.yaml`) Reviewed-on: #474 Co-authored-by: Ben Vincent <ben@unkin.net> Co-committed-by: Ben Vincent <ben@unkin.net>
18 lines
838 B
Puppet
18 lines
838 B
Puppet
# rke2 params
|
|
class rke2::params (
|
|
Enum['server', 'agent'] $node_type = 'agent',
|
|
String $rke2_version = '1.33.4',
|
|
String $rke2_release = 'rke2r1',
|
|
Stdlib::Absolutepath $config_file = '/etc/rancher/rke2/config.yaml',
|
|
Hash $config_hash = {},
|
|
Stdlib::HTTPSUrl $join_url = 'https://127.0.0.1:9345',
|
|
Stdlib::Fqdn $bootstrap_node = 'localhost.localdomain',
|
|
String $node_token = '',
|
|
Boolean $helm_install = false,
|
|
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,
|
|
Hash $registries = {},
|
|
) {}
|