Puppet Class: kubeadm::kubectl

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

Overview

SPDX-License-Identifier: Apache-2.0



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

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',
    }
}