Puppet Class: kubeadm::admin_scripts
- Defined in:
- modules/kubeadm/manifests/admin_scripts.pp
Overview
SPDX-License-Identifier: Apache-2.0
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'modules/kubeadm/manifests/admin_scripts.pp', line 2
class kubeadm::admin_scripts (
) {
file { '/root/.kube':
ensure => directory,
}
file { '/root/.kube/config':
ensure => link,
target => '/etc/kubernetes/admin.conf',
}
file { '/usr/local/sbin/wmcs-k8s-get-cert':
ensure => 'present',
owner => 'root',
group => 'root',
mode => '0755',
source => 'puppet:///modules/kubeadm/admin_scripts/wmcs-k8s-get-cert.sh',
}
file { '/usr/local/sbin/wmcs-k8s-secret-for-cert':
ensure => absent,
}
file { '/usr/local/sbin/wmcs-k8s-enable-cluster-monitor':
ensure => 'present',
owner => 'root',
group => 'root',
mode => '0755',
source => 'puppet:///modules/kubeadm/admin_scripts/wmcs-k8s-enable-cluster-monitor.sh',
}
}
|