chore: deploy rke2 registries.yaml (#462)
ensure all new docker pulls are actioned through artifactapi Reviewed-on: #462
This commit was merged in pull request #462.
This commit is contained in:
@@ -28,6 +28,16 @@ class rke2::config (
|
||||
$config = $config_hash
|
||||
}
|
||||
|
||||
file { '/etc/rancher/rke2/registries.yaml':
|
||||
ensure => file,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0644',
|
||||
source => 'puppet:///modules/rke2/registries.yaml',
|
||||
require => Package["rke2-${node_type}"],
|
||||
before => Service["rke2-${node_type}"],
|
||||
}
|
||||
|
||||
# create the config file
|
||||
file { $config_file:
|
||||
ensure => file,
|
||||
|
||||
Reference in New Issue
Block a user