Merge "Rotate k8s certificate automatically" into r/stx.3.0

This commit is contained in:
Zuul 2020-02-04 20:56:46 +00:00 committed by Gerrit Code Review
commit af2aa8884c

View File

@ -347,6 +347,16 @@ class platform::kubernetes::master::init
ensure => present,
}
}
# Run kube-cert-rotation daily
cron { 'kube-cert-rotation':
ensure => 'present',
command => '/usr/bin/kube-cert-rotation.sh',
environment => 'PATH=/bin:/usr/bin:/usr/sbin',
minute => '10',
hour => '*/24',
user => 'root',
}
}
class platform::kubernetes::master