- manage rke2 repos - add rke2 module (init, params, install, config, service) - exclude setting ips for cilium interfaces - split roles::infra::k8s::node -> control/compute roles - add bootstrap_node, manage server and token fields in rke2 config
17 lines
612 B
Puppet
17 lines
612 B
Puppet
# manage rke2
|
|
class rke2 (
|
|
Enum['server', 'agent'] $node_type = $rke2::params::node_type,
|
|
Stdlib::Absolutepath $config_file = $rke2::params::config_file,
|
|
Hash $config_hash = $rke2::params::config_hash,
|
|
Stdlib::HTTPSUrl $join_url = $rke2::params::join_url,
|
|
Stdlib::Fqdn $bootstrap_node = $rke2::params::bootstrap_node,
|
|
String $node_token = $rke2::params::node_token,
|
|
) inherits rke2::params {
|
|
|
|
include rke2::install
|
|
include rke2::config
|
|
include rke2::service
|
|
|
|
Class['rke2::install'] -> Class['rke2::config'] -> Class['rke2::service']
|
|
}
|