All checks were successful
Build / precommit (pull_request) Successful in 5m44s
- remove helm-generated-yaml, replace with helm execs - template/parameterise ceph csi
31 lines
1.6 KiB
Puppet
31 lines
1.6 KiB
Puppet
# manage rke2
|
|
class rke2 (
|
|
Enum['server', 'agent'] $node_type = $rke2::params::node_type,
|
|
String $rke2_version = $rke2::params::rke2_version,
|
|
String $rke2_release = $rke2::params::rke2_release,
|
|
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,
|
|
Boolean $helm_install = $rke2::params::helm_install,
|
|
Hash $helm_repos = $rke2::params::helm_repos,
|
|
Array[String[1]] $extra_config_files = $rke2::params::extra_config_files,
|
|
Stdlib::HTTPUrl $container_archive_source = $rke2::params::container_archive_source,
|
|
Boolean $csi_ceph_enable = $rke2::params::csi_ceph_enable,
|
|
Array[String] $csi_ceph_files = $rke2::params::csi_ceph_files,
|
|
Array[String] $csi_ceph_templates = $rke2::params::csi_ceph_templates,
|
|
Optional[String[1]] $csi_ceph_key = $rke2::params::csi_ceph_key,
|
|
Optional[String[1] ] $csi_ceph_clusterid = $rke2::params::csi_ceph_clusterid,
|
|
Optional[Array[String]] $csi_ceph_monitors = $rke2::params::csi_ceph_monitors,
|
|
Optional[String[1]] $csi_ceph_poolname = $rke2::params::csi_ceph_poolname,
|
|
) inherits rke2::params {
|
|
|
|
include rke2::install
|
|
include rke2::config
|
|
include rke2::service
|
|
include rke2::helm
|
|
|
|
Class['rke2::install'] -> Class['rke2::service'] -> Class['rke2::helm']
|
|
}
|