Puppet Class: kubeadm::kubectl

Defined in:
modules/kubeadm/manifests/kubectl.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'modules/kubeadm/manifests/kubectl.pp', line 1

class kubeadm::kubectl (
) {
    require ::kubeadm::repo

    package  { 'kubectl':
        ensure => 'present',
        tag    => 'kubeadm-k8s',
    }

    file { '/usr/local/bin/kubectl-sudo':
        ensure => present,
        mode   => '0555',
        source => 'puppet:///modules/kubeadm/kubectl-sudo.sh',
    }
}