Puppet Class: k8s::base_dirs

Defined in:
modules/k8s/manifests/base_dirs.pp

Overview

SPDX-License-Identifier: Apache-2.0



2
3
4
5
6
7
8
9
10
# File 'modules/k8s/manifests/base_dirs.pp', line 2

class k8s::base_dirs {
    # TODO: This directory is created by kubernetes debian packages >= 1.23, drop/move to kubeadm::base_dirs after all clusters have been upgraded
    file { '/etc/kubernetes':
        ensure => directory,
        owner  => 'root',
        group  => 'root',
        mode   => '0755',
    }
}