From 17640b5b7042bb17f3b91e5f2557a58fb244baca Mon Sep 17 00:00:00 2001 From: Mikhail Yu Petrov Date: Fri, 21 Feb 2020 17:51:34 +0300 Subject: [PATCH] FIX config perms --- manifests/master/controller_manager.pp | 2 ++ manifests/master/scheduler.pp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/manifests/master/controller_manager.pp b/manifests/master/controller_manager.pp index 8ef5748..62cfb4b 100644 --- a/manifests/master/controller_manager.pp +++ b/manifests/master/controller_manager.pp @@ -485,6 +485,8 @@ file { '/etc/kubernetes/controller-manager': ensure => 'file', force => true, + owner => 'root', + group => 'root', content => template("${module_name}/etc/kubernetes/controller-manager.erb"), notify => Service['kube-controller-manager'], } diff --git a/manifests/master/scheduler.pp b/manifests/master/scheduler.pp index e759db1..701406f 100644 --- a/manifests/master/scheduler.pp +++ b/manifests/master/scheduler.pp @@ -194,6 +194,8 @@ file { '/etc/kubernetes/scheduler': ensure => 'file', force => true, + owner => 'root', + group => 'root', content => template("${module_name}/etc/kubernetes/scheduler.erb"), notify => Service['kube-scheduler'], }